summaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI
AgeCommit message (Collapse)AuthorFilesLines
2016-01-04Configuring non-admin credentials for tempestViktor Tikkanen1-0/+90
Since some test cases from tempest suite require non-admin credentials, a new project and a new user with non-admin role were added to the configuration. JIRA: FUNCTEST-72 Change-Id: I573bc18292b5885bd354f4af16f7f70a7178540d Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
2015-12-30Support for customized tempest case listViktor Tikkanen2-107/+109
Newer release (0.1.2) of Rally has introduced some syntax changes (e.g. "--set" option for test set selection), so run_tempest.py is updated according to them. Custom test case list is taken into use instead of smoke test set. The list itself is updated (rally didn't recognize test cases with 'gate' definition). JIRA: FUNCTEST-72 Change-Id: I5e178f90f66fda7cb8099ddb4f82b93af3148c79 Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
2015-12-29Merge "Refactor run_rally-cert.py"Jose Lausuch1-29/+17
2015-12-28Support for removing hanging portsViktor Tikkanen1-41/+41
Sometimes we have situations when all the routers are deleted but there are still ports with network:router_gateway device owner. Such ports can be deleted only after clearing the device owner information. update_neutron_port() function is added into functest_utils.py and taken into use in clean_openstack.py. Change-Id: I1c9ba2ac499edecec99849b5e895be0248ffd84f Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
2015-12-28Refactor run_rally-cert.pyJuha Kosonen1-29/+17
Changed run_rally-cert.py to utilize image creation/deletion functions of functest_utils. Removed cleanup function too as this is done in general cleanup. JIRA: FUNCTEST-109 Change-Id: I20cde1b664e0c25bd4ce0b25dc86dff817fba7f3 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2015-12-24Fix: do not remove network/router created by functest preparationgrakiss1-2/+2
Change-Id: I08bc4b2228162b2b064e5f90b2e5c29994ab77c8 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2015-12-22Use repos_dir env variable in all Functest scriptsjose.lausuch3-16/+25
JIRA: FUNCTEST-90 This way, we remove the 'functest repo' input parameter on the python scripts call and we make it simpler using the available repos_dir env variable which points to /home/opnfv/repos Change-Id: I7d74bf1bc8d89f8f14397fcb9dafc22ee1482f84 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-22Add more compass defaults to clean_openstackjose.lausuch1-2/+2
Change-Id: I5a2f95ee0502c61eb96ec8b52d2a5631517a62d0 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-22Wait for floatingips to be released in clean_openstack scriptjose.lausuch1-0/+10
Change-Id: I4d4a6866aa93d05729f625f4dffc1138cecffb16 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-22Change ping command by netcat to check OpenStack endpointjose.lausuch1-13/+35
Also, verify public and admin endpoints Change-Id: Ifdb121ca0d04cf8be10eb3d7d0c08c41b034e87f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-22Remove hardcoded IP in check_osjose.lausuch1-1/+0
Change-Id: Iafe378dd2ac9d062837b936bf833d537f994041c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-21Merge "Move 'wait for instances to be terminated' after deleting them when ↵jose.lausuch1-14/+13
cleaning openstack"
2015-12-21Script to check the basic OpenStack servicesjose.lausuch1-0/+53
JIRA: FUNCTEST-118 Change-Id: I92372bc098c48e406e69a91c4d754e8c1e4388a6 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-21Move 'wait for instances to be terminated' after deleting them when cleaning ↵jose.lausuch1-14/+13
openstack Change-Id: I0efc8a151357d15003bb3953874b5d4d0f5803dc Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-19Merge "Parameterize Rally scenarios"Morgan Richomme27-0/+2267
2015-12-18Add cinder check to support NoneType objectjose.lausuch1-1/+1
Change-Id: Ic8606479b8f5ea28cd8884414a6f4a3b76685107 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-18Parameterize Rally scenariosJuha Kosonen27-0/+2267
Applied argument manipulation approach from rally/certification. JIRA: FUNCTEST-109 Change-Id: Ia6f08f1a7e7566c883cf7c616d32b7e0ca26b1f9 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2015-12-18Add more defaults to clean_openstack scriptjose.lausuch1-1/+2
Change-Id: Iefc43e919aa461a849bc81b953533dfc291b8a85 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-18Adding more robust check to delete a port in clean_openstack.jose.lausuch1-4/+13
Change-Id: I87ec537cde0b8ef8fd8d11aa327e93087f2125c4 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-18Fix bug clean_openstack if the function return a Nonemeimei1-5/+12
Change-Id: Ia9257742193526f4293ffc26e05d5590493d5a4f Signed-off-by: meimei <meimei@huawei.com>
2015-12-18fix bug of cleaning the openstack env, the tenant"service" cannot be deletedmeimei1-1/+1
Signed-off-by: meimei <meimei@huawei.com> Change-Id: I351ee985027b26686aa2cd9eddc52daed3e37a0f
2015-12-17Add debug information for ports in clean_openstackjose.lausuch1-1/+8
Change-Id: I3e7788c36971b132ab685dd55600a449aa1d5128 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-17Change print statement to logger.debug for the separator in clean_openstackjose.lausuch1-1/+1
Change-Id: I947c11d6d9e0fedf14c9250832137ed2aa699d0e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-17Fix bug clean_openstack if there are no users and tenants.jose.lausuch1-0/+8
Change-Id: If750bfa3d9a090e8554d62b49907ac6d873d18e4 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-17Fix bug clean_openstack if there are no networks.jose.lausuch1-0/+4
Change-Id: I0acbfb68142f138d1f866bf40d708bf762de2e1b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-16Fix run_rally.py to create image using glance python clientjose.lausuch1-17/+15
Change-Id: Ia617abcfe6d04995d10e446f070df22a6f11cca5 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-16Merge "OpenStack cleanup script"Morgan Richomme2-0/+442
2015-12-14Add a flag to push the results to the DB optionalyjose.lausuch1-1/+8
By default, it will NOT push, only if specified by -r The parameter must be taken from a Jenkins job set to TRUE JIRA: FUNCTEST-84 Change-Id: Iee3b293e90b052b88de2d4f1d337f5ec5e3b3941 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-14OpenStack cleanup scriptjose.lausuch2-0/+442
This is needed in case any test case doesn't clean what it creates in openstack. (This has been happening sometimes for Tempest, for example) This script will remove: - nova instances - glance images - cinder volumes - networks/subnets/ports - routers - floating ips - security groups - users and tenants (not admin) It won't remove the defaults. Change-Id: Ie09a5ad481fc3d1b92f124362aea6906665a1629 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-10fix path for rally resultMorgan Richomme1-1/+1
Change-Id: Ic686bb41b927072b47e20afe480da6d8119053fc Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-12-10fiw path bug for run_rallyMorgan Richomme1-1/+1
remove HOME as path are now absolute path in docker file Change-Id: I5d211c8e72ac744aa04c17064365f5f8b1178f95 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-11-30Add functions to retrieve POD name in FunctestMorgan Richomme2-2/+4
JIRA: FUNCTEST-108 Change-Id: I3453933e12cd7af9b06f50b327873f7516609566 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-11-27Added customized tempest test case listViktor Tikkanen1-0/+227
This list is based on tempest own smoke test case suit and extended by selected test cases defined by DefCore Committee (https://wiki.openstack.org/wiki/Governance/DefCoreCommittee). The list can be applied e.g. with following command: rally verify start --tests-file <path> Change-Id: Iaeb218a7dbb0f51f2f838bfa262439d12b09689c Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
2015-11-25Rally 'module' parameter not needed any morejose.lausuch1-2/+2
JIRA: FUNCTEST-63 Change-Id: Idcbab6186e16b850b5e2feef54ebc10746afa858 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-11-25Use only Rally as tescase nameMorgan Richomme1-1/+1
do not use Rally-module to simplify dashboard management. Module is always mentioned in the case names JIRA: FUNCTEST-63 Change-Id: Idb56c9ea906443e9d4aae9bd1ade30e8bd6cb3b4 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-11-02add load of functest-img-rally for vm and cinder testsMorgan Richomme1-0/+50
JIRA: FUNCTEST-94 Change-Id: I959c29eda12709896fdf9c3c4fcd9760b6dfa19b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-10-20Change duration to integer seconds in tempest resultsjose.lausuch1-1/+6
JIRA: FUNCTEST-37 Change-Id: I4de4f8564598bbb8e47ff5e8062c696cf06ac55e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-19set nb test run and failure tests as intMorgan Richomme1-31/+33
JIRA: FUNCTEST-37 Change-Id: Ic540eab88c86422af1b68b4ead74f9456d18fa25 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-10-19Merge "Create run_tempest out of run_rally"jose.lausuch1-0/+144
2015-10-19Create run_tempest out of run_rallyjose.lausuch1-0/+144
JIRA: FUNCTEST-37 Change-Id: If87c66f0905b8577b6ebccff7a61d6d6eced6da9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-19refactor run-rally and integrate API to push results into DBMorgan Richomme1-81/+83
heavier refactoring due to new verison of Rally will probably needed JIRA: FUNCTEST-55 Change-Id: Ia9976fa4fe55618cf7f85f9d6a2d0b660497b624 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-10-02Add SLA to Rally test casesJuha Kosonen13-0/+255
Set success criteria for Rally scenarios to indicate failure in case of a failed iteration. JIRA: FUNCTEST-58 Change-Id: Ie864ebfddf4be5f67c0af0ceca0d7d1d0c07cd19 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2015-06-10remove date stamping in run_rallyMorgan Richomme1-6/+1
rally results shall be pushed to result folder but date stamping shall be done at CI level not test by test JIRA: FUNCTEST-12 Change-Id: I35051e6211775d8f916551d6ca8b0849b126d38e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-05-26vPing.py: bugfix: removed cgit download of scenariosjose.lausuch1-30/+4
JIRA: FUNCTEST-3 Change-Id: I4ddb01ef9f479c0b6e141ad27022cf0ef5648760 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-05-26Refactor functest environment. Bugfixes: arguments missingjose.lausuch1-1/+2
JIRA: FUNCTEST-10 Change-Id: I796542f32a75892ff66ea23115cbcddd72438323 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-05-26Refactor functest environment. Bugfixes: arg dependenciesjose.lausuch1-7/+12
JIRA: FUNCTEST-10 Change-Id: I4b392a76ecbafdc5e4f1909c26a17a934796ec23 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-05-26Refactor functest environmentjose.lausuch1-1/+1
Depends on: https://gerrit.opnfv.org/gerrit/#/c/642/ JIRA: FUNCTEST-10 Change-Id: I08404df8b38372a40f715d9bde2347fd67ce52a9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-05-21due to cleaning issue the order of the tests may have some consequences. ↵morganrOL1-21/+21
Running list of images first reduce the risk of false errors JIRA: FUNCTEST-1 Change-Id: Ib12b37dc1b2b759413289dc0aad4e81eefa0bf2e Signed-off-by: morganrOL <morgan.richomme@orange.com>
2015-05-20fix bug due to removal of VM scenariomorganrOL1-2/+2
JIRA: FUNCTEST-9 Change-Id: Ic86ede69d5bdfd3e0ec767f392f093b13232ed82 Signed-off-by: morganrOL <morgan.richomme@orange.com>
2015-05-19Merge "remove test VM to test CI (could be reintrouduced later)"morganrOL1-1/+1