summaryrefslogtreecommitdiffstats
path: root/requirements.txt
AgeCommit message (Collapse)AuthorFilesLines
2018-02-26Stop raising keystoneauth1 exceptions in odl unit testsCédric Ollivier1-1/+0
It simply raises Exceptions to avoid depending on keystoneauth1. Snaps may also reraise another exception. Change-Id: Ib3041b2d8ff51ee098f2bf0b9918079b7945abf3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-26Remove openstack utilsCédric Ollivier1-6/+0
They have been obsolete since we fully switched to snaps. The files are being moved to SDNVPN which is the last project using them [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/52631/ Change-Id: I277b92a04cf6bc7b30015eed76f03f17830fad2b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-23Remove iniparse and urllib3 dependenciesCédric Ollivier1-5/+0
It also moves robotframework addons to the right containers. Change-Id: I32a8e018bf84685cffc70a04e3736d948bc6d1c4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-15Updated from global requirementsCédric Ollivier1-0/+3
Change-Id: I654486a96cbfc68c7d3f5508a962e628243a1576 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-15Remove opnfv module from functest-coreLinda Wang1-1/+0
The releng/opnfv git repo is still kept in upper-constraints as it is required by sfc. And also delete the functions of check_env_variables, get_deployment_handler and create_directories. Change-Id: If498e68f0f94d6ebde1be55f5e3a17d06becaea4 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-13Remove rally and tempest from core/DockerfileLinda Wang1-2/+0
JIRA: FUNCTEST-889 Change-Id: I6092c8b6599705d23dcb3aba8c4470b76c41455c Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-05Update Functest to OpenStack stable/pikeCédric Ollivier1-12/+12
It updates setup.py, (test-)requirement.txt and upper-constraints.txt according to OpenStack requirements [1]. It disables all Features testcases as they are not synchronized with OpenStack stable/pike yet [2]. The docker functest-parser is simplified as it can be based on functest-core as both Functest and Parser leverage on OpenStack stable/pike. ODL_TAG and REFSTACK_TAG variables are set to master again. [1] http://git.openstack.org/cgit/openstack/requirements/log/?h=stable/pike [2] https://wiki.opnfv.org/display/functest/Requirements+management Change-Id: I23fa84f35244c1f4026abd89414b99576f042ee4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-19Add swagger support for Rest APILinda Wang1-0/+1
JIRA: FUNCTEST-854 Change-Id: Ic010604d3ba0cc46092cf2a1ae8bb41afa73c920 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-14New testcase creation named "cloudify_ims_perf"boucherv1-0/+1
* IMS deployment with "cloudify_ims" testcase * IXIA infrastructure creation with SNAPS * Module configuration with REST API * Configure and run the perf tests with REST API Change-Id: I3dfddda87f9e9f4f03df375f6a032ded26a627b3 Signed-off-by: boucherv <valentin.boucher@orange.com> Co-Authored-By: Arturo Sordo Miralles <asordo@ixiacom.com>
2017-09-02Remove openstack-requirements from requirements.txtCédric Ollivier1-1/+1
Change-Id: Iaaee0c3e1c5377a5064660ad8396cfd8a7c5e250 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-01Remove all useless dependenciesCédric Ollivier1-1/+0
pexpect has been useless since onos testcases were removed [1] [1] https://gerrit.opnfv.org/gerrit/#/c/40229/ Change-Id: I9de88ee56e44518568d6562d9cf639b9bf7be562 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-01Add all missing dependenciesCédric Ollivier1-3/+8
requirements.txt must have been updated by the previous changes: - Create API to run a test case [1] - Use separate timeouts for connection and reading [2] - Refactor the vyos_vrouter to adopt VNF abstraction [3] [1] https://gerrit.opnfv.org/gerrit/#/c/39565/ [2] https://gerrit.opnfv.org/gerrit/#/c/39429/ [3] https://gerrit.opnfv.org/gerrit/#/c/40261/ Change-Id: I8865386f41a939b0f4c71c6dfff340882b5eee97 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-01Fix all rally requirements on-the-flyCédric Ollivier1-1/+2
Rally is released out of OpenStack releases and its requirements must be modified before installing. Rally applies a similar solution for gating [1]. [1] https://github.com/openstack/rally/blob/stable/0.9/tests/ci/sync_requirements.py Change-Id: I3dfe69597e6ebecc5f07943658634ea94625294f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-01Merge "Remove tacker library from functest"Morgan Richomme1-1/+0
2017-09-01Remove tacker library from functestManuel Buil1-1/+0
This library is moved to the SFC repo https://gerrit.opnfv.org/gerrit/#/c/40265/2 Change-Id: I339337e4c2f17933a74bf85259e36f8f5742a17a Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-08-25Create API to update hosts infoLinda Wang1-0/+1
API: /api/v1/functest/envs/action METHOD: POST PARAMS: { "action": "update_hosts", "args": { "identity.ac.dz.com": "8.20.11.22", "image.ac.dz.com": "8.20.11.22" } } JIRA: FUNCTEST-856 Change-Id: Ifaf064110ade6e39189dd14b38c921d9e1c3568d Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-18Merge "Remove multisite support"Morgan Richomme1-1/+0
2017-08-18Remove multisite supportJuha Kosonen1-1/+0
JIRA: FUNCTEST-866 Change-Id: I55a4416688b2aca0897910cac69b33e154e73095 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-08-17API proposal for functestLinda Wang1-0/+2
1. Propose a basic framework for API 2. And these functions have been realized: 1) Show environment 2) Prepare Environment 3) Show credentials 4) List all testcases 5) Show a testcase 6) List all tiers 7) Show a tier 8) List all testcases within given tier JIRA: FUNCTEST-843 Change-Id: Ib961446708077b56465eda0052f6d38806b62594 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-07-10Add upper-constraints.txt for FunctestCédric Ollivier1-8/+8
It completes OpenStack's upper-constraints.txt by adding Functest's requirements. This file is temporarily duplicated to allow building the containers. It will be removed via a next patch when this patch is merged. openbaton-cli could be updated (e.g. 3.2.8). Change-Id: I26de2d22f9e8973c5a58c3cc5129142fa628e57a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-06Move rally and tempest to requirements.txtCédric Ollivier1-0/+2
As rally and tempest are called when preparing env, they are considered as dependencies. It also modifies on-the-fly upper-contraints.txt to allow cloning the git repository. Change-Id: I72e809d4cf15f9f2539a74fce1c6eb444d8c3b47 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-03[cloudify_ims] Support Cloudify 4.0boucherv1-1/+1
- Delete all shell commands to use cloudify python lib - Cloudify Manager installation with a packaged image - SNAPS integration - Adapt test_vnf unit tests - Initiate test cloudify_ims unit tests (to be completed) JIRA: FUNCTEST-838 Change-Id: Ia4b499d4155e6af5d37d6d5cf4310a5a9693c7ce Signed-off-by: boucherv <valentin.boucher@orange.com> Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-06-26Remove obsolete repos in functest/ci/config_functest.yamlCédric Ollivier1-0/+1
It completes "Use directly OpenStack project packages" [1]. kingbird becomes a dependency. [1] https://gerrit.opnfv.org/gerrit/#/c/36125/ Change-Id: I2cb9e3a2146a2b2bbae89dde9917c5ace70048a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-20Change barometer module to loadJose Lausuch1-1/+0
As [1] is merged, the way to call the barometer test case is different as it is hosted in Barometer repo instead of Functest. The former files are also simply removed too. baro-tests is no longer a requirement. It is installed as any third party project. [1] https://gerrit.opnfv.org/gerrit/#/c/35927/ Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Iea56b48fa781600eb3a6ac74662ea8a29f556f99 Signed-off-by: Jose Lausuch <jose.lausuch@ericsson.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-19Clean requirements.txtCédric Ollivier1-11/+5
It removes all requirements which are not detected by pipreqs [1] except: - robotframework-httplibrary - robotframework-requests==0.4.7 - robotframework-sshlibrary==2.1.3 They seem indirectly required for the next ODL suites: old_netvirt and fds. It also defines pbr as requirement and orders dnspython3 conditions. [1] https://github.com/bndr/pipreqs Change-Id: Idcd01296e5a5862ff8528dc083468b5c4905c9f9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-12Update (test-)requirements.txtCédric Ollivier1-29/+23
It updates requirements.txt and test-requirements.txt according to OpenStack stable/ocata. It removes useless copyrights. Change-Id: I603b3030df231f210af47232f20aef85a08e20ba Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-07Leverage on pbr (Python Build Reasonableness)Cédric Ollivier1-5/+5
pbr can inject requirements into the install_requires, tests_require and/or dependency_links arguments to setup. They were previously falsy unset. It also supports conditional dependencies which can be added to the requirements (e.g. subprocess32; python_version=='2.7'). Then requirements.py3.txt is removed. It also removes functest/cli/setup.py which seems false and obsolete. Dockerfile is updated as well. One temporarily link is created because of several hardcoded paths in Functest. Change-Id: I14b3b25e07fbac490dd1d5ce943ec02c5b11f242 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-31Added unit tests for the connection_check test case.spisarski1-0/+1
JIRA: FUNCTEST-813 Change-Id: Ib851a3942e181b1a91cad695504613868a340d15 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-05-20Update requests as defined in relengCédric Ollivier1-1/+1
Change-Id: I808cb796d18cf7f193a37e7b7d9073a037bb2ae7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-20Add baro_tests as requirementsCédric Ollivier1-0/+1
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-20Install releng via requirements.txtCédric Ollivier1-0/+1
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-17Clean test-requirements.txtCédric Ollivier1-1/+1
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>
2017-05-17Add Python3 support to the ODL testcaseCédric Ollivier1-0/+1
It also adds this support to its dependencies. Change-Id: I0534f0c7b0e15a9ee89f522f314cf5200874454c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-17Update/Add requirements to run ODL robot CSITJamo Luhrsen1-3/+5
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>
2017-05-16Merge "Modify TestCase.__str__() to use PrettyTable"Jose Lausuch1-0/+1
2017-05-12Upgrade robotframework-sshlibrary to 2.1.3George Paraskevopoulos1-1/+1
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>
2017-05-11Modify TestCase.__str__() to use PrettyTableCédric Ollivier1-0/+1
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>
2017-05-05Add iniparse to requirements.txtLinda Wang1-0/+1
Package iniparse is absent for functest, while it is required by rally.py Change-Id: Ia50216cfebdc9033f6a5f4abc6338951aaa2e8ab Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-04-19Add mock to requirements.txtLinda Wang1-0/+1
Package mock is absent for functest, while it is required by decorators.py. Change-Id: I0d042def0335e369c4e22a349e3068829e1d2c59 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-02-28[odl-sfc] Add function to retrieve a resource from HEATJuan Vidal1-0/+1
Introduces function to retrieve a HEAT client. For the moment, the only wrapper function is the one to retrieve resources. Added unit tests to cover the new functions. python-heatclient is added to requirements.txt and test_requirements.txt. Change-Id: I547138141c6aad611f2353599fb70a013c83058a Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
2017-02-24Integration of orchestra_ims testMorgan Richomme1-1/+2
JIRA: FUNCTEST-726 Change-Id: Ie6a35a817aa327a7e9143d93b5ea2582e99e0066 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-01-30Make sure we have installed python_novaclient==6.0.0jose.lausuch1-0/+1
Some requirements install novaclient 7.0.0 which belongs to Ocata. It shows some warnings that are not relevant. This will force to install the version for Newton. Change-Id: Ic9c6b3e9558ef59475099fa41316f56a8a3192a0 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-01-04Reverted the file permissionhelenyao1-0/+0
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>
2016-12-12Upgraded the virtualenvhelenyao1-1/+1
JIRA: FUNCTEST-654 The virtualenv is too old and it will break the unit test if it runs the second time. Change-Id: I9f1a408f0e43bff4499575fa57cabd1a83d99b3a Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-09Merge "Added test cases for running the Python Tests included with SNAPS."Morgan Richomme1-1/+1
2016-12-08Added test cases for running the Python Tests included with SNAPS.spisarski1-1/+1
JIRA: FUNCTEST-570 The three new tests are: 1. healthcheck/connecton_check - Retrieves different OpenStack clients and may exercise a query function 2. healthcheck/api_check - Exercises many of the OpenStack APIs by performing basic CRUD operations 3. smoke/snaps_smoke - Creates VMs and some optionally test SSH into floating IPs Removed configured exernal network name and replaced it with a dynamic lookup. Fixed typo in run_tests.py Change-Id: Icb87a77c7cdd99dd9aa3a66bcc5a25b4b5935fef Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2016-12-05test-requirements.txt is added for unit test.helenyao1-0/+1
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>
2016-11-25Lifted requirements.pip one level up to meet the basic structure of ↵helenyao1-0/+29
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>