summaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/run_sfc_tests.py
AgeCommit message (Collapse)AuthorFilesLines
2018-05-08Bug fix: Use opnfv.logger objectManuel Buil1-3/+2
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>
2018-04-03Fix flake8 problemsManuel Buil1-0/+1
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>
2018-03-19Merge "Add support for Compass installer"Manuel Buil1-1/+1
2018-03-16Add support for Compass installerYifei Xue1-1/+1
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>
2018-03-15Allow executing tests from run_sfc_testsManuel Buil1-0/+6
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>
2018-03-05Remove run_sfc_tests.py from scriptsCédric Ollivier1-8/+0
It is no longer called via BashFeature. Change-Id: I8ae6b24d5e02f269056c1d4615b436c1a2a3a903 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-05Import xtesting moduleLinda Wang1-1/+1
Change-Id: Id524fbf1677844b5172f52c857cf8bed8d075ff3 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-02-16Switch from CONST to env.get()Cédric Ollivier1-1/+1
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>
2017-12-21Migrate to SNAPs openstack libraryManuel Buil1-18/+4
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>
2017-12-19Move to functest TestCase superclassManuel Buil1-1/+1
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>
2017-10-04Do not use capital lettersManuel Buil1-1/+1
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>
2017-09-14Added support for OSA installerManuel Buil1-0/+2
Change-Id: I3a34daaca258cd2ce511aee51819cf438110e403 Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-08-31Adapt the testcases to multiple installersDimitrios Markou1-14/+62
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>
2017-08-02Install run_sfc_tests.py in $PATHCédric Ollivier1-0/+158
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>