Age | Commit message (Collapse) | Author | Files | Lines |
|
Support n-sfc too and abstract a bit the MANO layer so that other MANO
components can be inserted into the test
Change-Id: I3fb59fbf40b4207bf1721092cd8ff0559e1d9d90
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
The Testcase class requires parameters in the constructor. We should pass
them or otherwise we get an error:
https://github.com/opnfv/functest-xtesting/blob/master/xtesting/core/testcase.py#L48
ERROR:
TypeError: "__init__() got an unexpected keyword argument 'project_name'"
Change-Id: I6f4b62b7ff201bf6878004e3fb452778c6b55f0e
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
Using the '--nocleanup' parameter as part of command,
the cleanup mechanism could be disable.
Otherwise, the cleanup method is executed even if a exception has been raised.
Change-Id: I9638369900f599793393feb5184c30b74f1b7c7e
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
|
|
In order to collect logs from SFC test scenarios running through
functest framework (mainly for troubleshooting purposes),
the logging mechanism has been updated accordingly.
JIRA: SFC-125
Change-Id: Ide7c32519afa6ece299d0ac1dcb168609a2e3945
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
|
|
Too much of duplicated code has been obeserved in
test cases. With this patch a small refactoring is necessery
to our test cases code. So they can be more generic and
more flexible.
To achieve that the addition of new parent class is essential, hence
all the rest test case classes will inherit from the aforementioned
parent class.
Change-Id: I6a50d8330a06321742b3bb03cc999682d4a4e6a1
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
|
|
JIRA: SFC-125
If we don't use the opnfv.logger from functest, logs are not printed when
exeucting tests through the functest framework
Change-Id: I6d58ff3977fd94221720eea978e0efde07a576a2
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
There was a bug in releng and pylint was not ran, some issues got merged
in master because of that
Change-Id: Icf3fa882f4f2b0593fa0b85edce46e49dcc303c9
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
|
|
JIRA: SFC-122
Add support for Compass installer in SFC repo which will make
Compass SFC scenarios be verified by SFC testcase daily.
Change-Id: I8129ebe837d54cdcd163158990fccf40451b98ad
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|
|
Removing it was a mistake because without it is harder to debug (e.g. using
break points does not work when triggering tests from functest)
Change-Id: I3a958da0add0fb57946da333f75fb526c2fe6c33
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
It is no longer called via BashFeature.
Change-Id: I8ae6b24d5e02f269056c1d4615b436c1a2a3a903
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: Id524fbf1677844b5172f52c857cf8bed8d075ff3
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
env.get() ensures that default values are reused if unset.
It also avoids desynchronization between os.environ and CONST.
It follows the change "Get properly env vars or their default values"
[1] applied in Functest.
It also fixes minor issues on shebangs and takes several pylint rules
into account in this module:
- http://pylint-messages.wikidot.com/messages:w0702
- https://www.python.org/dev/peps/pep-0282/
[1] https://gerrit.opnfv.org/gerrit/#/c/52221/
Change-Id: Ia7ad168b2cbbade8ea3890fb95dc01bcdfc50468
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Functest is deprecating its openstack library which we were using extensively
We need then to move to an alternative and the best appears to be SNAPs
Change-Id: Icaa0b9f1ec580545b9d0faa88be2080a310deaf7
Signed-off-by: Manuel Buil<mbuil@suse.com>
|
|
Due to this:
https://gerrit.opnfv.org/gerrit/#/c/49243/
We need to change the class
Change-Id: I17dc65fcfd3e7ce3f6ebe5ec5176e5d89ef2e0e2
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
As agreed with the releng-xci guys, we should not use capital letters to refer
to openstack-ansible (osa)
Change-Id: I634747b07e72513f751cde3eb33f3b4bad5c176d
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
Change-Id: I3a34daaca258cd2ce511aee51819cf438110e403
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
Right now the testcases are dependent to only one installer.
So when we are trying to run the testcases to multiple installers
the tests are failing.
This patch make the testcases independent to the installer that they
run.
The testcases are running until the point which they hit the tacker
client commands.They are failing in the tacker client commands
because we need the new library for the upstream tacker API.
The testaces have already tested to two installers (Fuel,Apex-ha).
Also this patch contains the changes which are required for the
adaptation to the new functest.
For more information see the Jira tickets [0],[1],[2].
[0]: https://jira.opnfv.org/browse/SFC-100
[1]: https://jira.opnfv.org/browse/SFC-101
[2]: https://jira.opnfv.org/browse/SFC-102
Change-Id: Id1e5d5c94a65ab8bdea9584fa833bfa0cdec6632
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
|
|
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>
|