aboutsummaryrefslogtreecommitdiffstats
path: root/testcases
AgeCommit message (Collapse)AuthorFilesLines
2016-01-11Add check of external network before running any testjose.lausuch1-0/+17
Change-Id: I3ab58d924a8e53f2e6375c1c7fa77361d91b5efb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit a9c1ee74864e30ae7c4e09923460ac943da2be80)
2016-01-11Add 'service' tenant to os_defaults for apexjose.lausuch1-1/+1
Change-Id: I4241ac5b010057f848943001e06421bc301057de Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 164b670493ccd8e1d024072f2e6cd93b2952f4fe)
2016-01-11Move openstack defaults to a yaml filejose.lausuch2-8/+46
Change-Id: I52a9304dff987f33265c47ba5510f9f96afe0a5a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 367f8f2ab9fccbd9ce0566598ef00cad745a296a)
2016-01-06Bugfix: cfy teardown -fboucherv3-84/+137
Change-Id: I8ced2251ad4cd1cb07c856ea79faf8458d051b33 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-01-06Merge "Using shared private network"Morgan Richomme2-0/+17
2016-01-05Bugfix: indent .........boucherv1-18/+33
Change-Id: I347b4d4709e0924394598f2990bfef8349adf597 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-01-05Bugfix: logger ..boucherv1-1/+2
Change-Id: I2333f53e5574214130d8b37c2e8b35fd03494b61 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-01-05bugfix: indentation errorboucherv1-161/+161
Change-Id: If83d818055c636304458ebdf316768fb357f925c Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-01-05Ensure no ssh key file already exists before launch cloudify deploymentboucherv1-3/+15
JIRA: FUNCTEST-115 Change-Id: Icef3da22f8cd4a528bd466d955037a9f37864f9b Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-01-05Using shared private networkViktor Tikkanen2-0/+17
Number of tempest test cases search for shared private networks and use value of fixed_network_name parameter from tempest.conf file in case when multiple shared networks are found. Private network created by functest is updated to be "shared". Added routine for network updating into functest_utils.py. Note that currently used OpenDaylight release (Lithium) doesn't support shared private networks so network updating will fail (this is however not a fatal error). Change-Id: I5a9a0f950b3ef61b6ebfda1af4345460134cc0e3 Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
2016-01-04Bugfix : Ensure that ruby libraries was installed before running vims test-caseboucherv1-1/+1
Change-Id: I59d5a4aa1969a1b937e00fd491c4f07e00862687 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-01-04Ensure that ruby libraries was installed before running vims test-caseboucherv1-0/+9
Change-Id: Ice896c37fc28e01f260cd617ee4c38d323607bb5 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-01-04Configuring non-admin credentials for tempestViktor Tikkanen3-44/+102
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>
2016-01-04Give the right repo path for vIMS to send reportgrakiss1-1/+1
Change-Id: I03c0fe24fce661f29869b92652b8ffebd0258c7c Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-01-04Update cinder volume quota for new tenant 'vIMS'grakiss2-0/+25
Change-Id: I26aad4f3989c89a62f66add85e0d88b7fd274425 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-01-03Merge "Support for customized tempest case list"Morgan Richomme2-107/+109
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-30Merge "Update orchestrator (cloudify) version from 3.2 to 3.3"boucherv6-223/+450
2015-12-29Merge "Refactor run_rally-cert.py"Jose Lausuch1-29/+17
2015-12-29Merge "Update rally to lastest release 0.1.2"jose.lausuch1-1/+1
2015-12-28Support for removing hanging portsViktor Tikkanen2-41/+54
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-27Update orchestrator (cloudify) version from 3.2 to 3.3boucherv6-223/+450
FUNCTEST-121 Change-Id: I05de60dae213e2f2b3ba272917dc70ca03e5fe90 Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-12-24Update rally to lastest release 0.1.2jose.lausuch1-1/+1
Change-Id: Ib9fa237a3501a07d481ddc9bb60ea17bdeeae434 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-24Fix timeout in vPing when booting a VMjose.lausuch1-2/+5
Change-Id: I9ee487dd5e142d2e92a92b0ba4ccc80b1a4cd063 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.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-23Add 'check if file exists' when creating the glance imagejose.lausuch1-2/+7
Change-Id: I2f61d130ac49ca0cc6bdde6b3da209ec37f24452 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-22Use repos_dir env variable in all Functest scriptsjose.lausuch6-40/+49
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-21bugfix: vIMS blueprint branchboucherv1-1/+1
Change-Id: Ie82f5b4f3293160bf0541a099dca1c749823bebe Signed-off-by: boucherv <valentin.boucher@orange.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-17Merge "Add clean_openstack script call in clean functest environment"Morgan Richomme1-3/+5
2015-12-17Merge "Update rally commit to version 0.1.1"Morgan Richomme1-1/+1
2015-12-17Add clean_openstack script call in clean functest environmentjose.lausuch1-3/+5
Reason: sometimes, if you run functest, it creates openstack stuff and fails, when you run it the second time it can fail if it tries to create the same openstack stuff Change-Id: I1825a02918f188c409398d2b6b95843d7fdd5993 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>