Age | Commit message (Collapse) | Author | Files | Lines |
|
They now leverage on shade to allow gating OpenStack master as asked
by TSC. Switching to OpenStack master (openstacksdk) requires to
change only one line.
It deletes the related unit tests as they have to be fully rewritten.
They will be added in another change.
Conflict:
functest/opnfv_tests/openstack/vping/vping_base.py
Change-Id: I0c60681d6e1c0944960770429ef972947dd85321
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit f1fbaabcc46dafe4b9937af600294f042cab31e0)
|
|
It now leverages on rally to factorize code between all tempest-based
testcases.
refstack-client is also added as requirement.
JIRA: FUNCTEST-942
Change-Id: Ieee845327f8736582d77b898edd6c9edd00667e0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It removes all the files which have moved to Xtesting.
Vnf inheritances and env management will be improved in other
changes.
It keeps the same tree thanks to a symlink to allow publishing
artifacts.
Change-Id: I551bbd3f344cdab0158a50b7b09e541576695631
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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>
|
|
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>
|
|
It also moves robotframework addons to the right containers.
Change-Id: I32a8e018bf84685cffc70a04e3736d948bc6d1c4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I654486a96cbfc68c7d3f5508a962e628243a1576
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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>
|
|
JIRA: FUNCTEST-889
Change-Id: I6092c8b6599705d23dcb3aba8c4470b76c41455c
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
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>
|
|
JIRA: FUNCTEST-854
Change-Id: Ic010604d3ba0cc46092cf2a1ae8bb41afa73c920
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
* 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>
|
|
Change-Id: Iaaee0c3e1c5377a5064660ad8396cfd8a7c5e250
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
|
|
JIRA: FUNCTEST-866
Change-Id: I55a4416688b2aca0897910cac69b33e154e73095
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
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>
|
|
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>
|
|
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>
|
|
- 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
JIRA: FUNCTEST-813
Change-Id: Ib851a3942e181b1a91cad695504613868a340d15
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
Change-Id: I808cb796d18cf7f193a37e7b7d9073a037bb2ae7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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>
|
|
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>
|
|
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>
|
|
It also adds this support to its dependencies.
Change-Id: I0534f0c7b0e15a9ee89f522f314cf5200874454c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
Package iniparse is absent for functest, while it is required by
rally.py
Change-Id: Ia50216cfebdc9033f6a5f4abc6338951aaa2e8ab
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
Package mock is absent for functest, while it is required by
decorators.py.
Change-Id: I0d042def0335e369c4e22a349e3068829e1d2c59
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
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>
|
|
JIRA: FUNCTEST-726
Change-Id: Ie6a35a817aa327a7e9143d93b5ea2582e99e0066
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
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>
|
|
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-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>
|
|
|
|
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>
|
|
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>
|