Age | Commit message (Collapse) | Author | Files | Lines |
|
It eases how Functest runs it (see testcases.yaml [1]).
The former run_tests.py is renamed to avoid duplicated binaries (see
[2] and [3]).
[1] https://git.opnfv.org/functest/tree/functest/ci/testcases.yaml
[2] https://git.opnfv.org/sdnvpn/tree/sdnvpn/test/functest/run_tests.py
[3] https://git.opnfv.org/promise/tree/promise/test/functest/run_tests.py
Change-Id: I75aaf950f7b072c142fa9894cef7ef7f057adac3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
- Inherit from OSGCTestCase which takes care of pushing
the result to the DB automatiically.
- Functest will just need to import this module
in testcases.yaml and the framework will launch it
- It is still possible to call this script from python
command line directly as it has a main function.
Change-Id: If02c13b6b6c2500f4eed7646a2b9eb284df0c5ae
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
- Recently there is removal of functest logger utils.
- This uses the default python logging mechanism
Change-Id: I3aba38041bbed8b1e5a3de93bc9f639253f262d8
Signed-off-by: Vijayendra Radhakrishna <vradhakrishna@mvista.com>
|
|
Tacker plug-in does not have a problem anymore so we can remove the extra logs
we added in case of failure
Change-Id: I3b74d6caee9235ad2e8cc180757d0627770380c2
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
This reverts commit cb311aad19c732fa006b50795ab66687e01b95a6.
Change-Id: I123c30acd765df692483eb5f91fecd1478219201
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
To be able to import run_tests as a module we must not try to parse
command line arguments in global scope
Also import the testcase using the full module path
Change-Id: I1696800a16301d446bf9c926bdaf2b545435a2e7
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
It was impossible to get a status='PASS'
Change-Id: I016346c1acf38ae1a130afbfd132166b72d5e1af
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
Heat caching somehow messes our tests so we disable it before the tests
start.
For instance, if we do:
1. create example-net with NET_ID1
2. create VNFD1 with example-net
3. delete VNFD1
4. delete NET_ID1
5. create example-net with NET_ID2
6. create VNFD2 with example-net
heat has NET_ID1 cached as the id of example-net and tries to use that
instead of NET_ID2 to create VNFD2. This off course leads to a crash
since NET_ID1 does not exist anymore.
In the future we should investigate further why heat cache does not play
well for us (probably bc of tacker).
Change-Id: Iac07d78641e2d1ff0c2d67e46752d551833f19fd
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
Change-Id: I3cbbcd17182bf6f1f6558cb199577d989ac62ae6
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
Change-Id: Ie7b2a63c301819a79768d1b286ee00693cd1129b
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
We want to double check if the CI is using the correct tacker plugin
version
Change-Id: Ib6082014988daee316553d980c5e7f88d316fe8c
Signed-off-by: “Manuel Buil” <mbuil@suse.com>
|
|
ODL does not clean all resources properly after tacker deletions, so we
add this as a post processing step
Change-Id: Ic485ee32b195f72235922ebe613af6c010cb57db
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
If the first testcase throws an exception, the rest were not being
executed
Change-Id: I5fdc521da840ffdbc7a0bde120d7bfe7907b881c
Signed-off-by: “Manuel Buil” <mbuil@suse.com>
|
|
We have to make sure that we source the correct credentials in the CI
Change-Id: I4d988943588bbc99a3118cb89eabfea37c41daf6
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
We need to call delete.sh after each test is run. The script is
implemented as a python module and called inside run_tests.py
Change-Id: I23a794be522b4713a44cc1d56587e0aadc6f1210
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
SFTP does not expand ~ to $HOME dir
Change-Id: I2d710c577986152a5cc703ca3668ae7b7767a07e
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
Change-Id: Ic68256410b29cf3ba39a10a92d243979ea475220
Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
|
|
JIRA: SFC-65
JIRA: SFC-71
Use the new library in releng to talk to fuel.
This allows for correct configuration of the compute hosts to resolve
SFC-71
Also since https://gerrit.opnfv.org/gerrit/#/c/28281/ was merged it
allows to run in multienv deployments so it resolves SFC-65
Change-Id: I5e6beb90d9c5108c21acb8d898f07cd2f4ae34f3
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
- Imports are changed as per doc below although it's not a pep8/flake8 violation
- http://docs.openstack.org/developer/hacking/#imports
Change-Id: I89b1ec8f1eba9145f24507fb0f610e5f74c86ce8
Signed-off-by: Vijayendra Radhakrishna <vradhakrishna@mvista.com>
|
|
- Recent change of sfc as installable module moved config class
- lib where import has not changed.
Change-Id: Ic38d21b63fb8e6189d00f8ecf89ff776a9d7eb51
Signed-off-by: Vijayendra Radhakrishna <vradhakrishna@mvista.com>
|
|
New directory structure:
<root>/sfc
<root>/sfc/lib/
<root>/sfc/tests
<root>/sfc/tests/functest
JIRA: SFC-60
After installing sfc, the imports would be:
import sfc.tests.functest.x
import sfc.lib.x
Change-Id: Ib15172239aefdef65056d6598210a1b28a4b2eff
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|