summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-18Merge "Fix the call to the ODL test."jose.lausuch2-16/+13
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-18Fix the call to the ODL test.jose.lausuch2-16/+13
TODO: specific parameters for each installer Change-Id: I5c0a88261c70319f7bf89c2ff28d55f740e443d2 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-17Add path to credentials env variable in Docker filejose.lausuch1-2/+2
To make faster troubleshooting Change-Id: I5ae8fa7db3a7d61f8dbc56b33cb5248f0b5e5daf 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>
2015-12-16Update rally commit to version 0.1.1jose.lausuch1-1/+1
Hopefully, release 0.1.2 will be released before Brahmaputra Both contain lot of bugfixes Change-Id: I4b18c81ef7235d880c10e56310c82f8b64e3e363 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-16Creation of image using python glance client instead of CLIjose.lausuch1-28/+23
Change-Id: I2d86701a0857976d9cdeddf7a807ae9ae7ab4912 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-16Add openstack cleanup after running the testsjose.lausuch1-0/+7
JIRA: FUNCTEST-76 Change-Id: I1ab6366582c74f4eb1d3453cef155b85c757aa1b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-16Merge "OpenStack cleanup script"Morgan Richomme3-1/+559
2015-12-15Merge "Add template for BGPVPN test case in run_tests.sh"jose.lausuch1-0/+12
2015-12-14Add template for BGPVPN test case in run_tests.shjose.lausuch1-0/+12
JIRA: FUNCTEST-99 Change-Id: I2c7da6b7e79906de1eb43804b8441821e16500cc Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-14Add a flag to push the results to the DB optionalyjose.lausuch3-7/+27
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.lausuch3-1/+559
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-14Adding BGPVPN repository to the Docker image and scriptsjose.lausuch4-0/+21
JIRA: FUNCTEST-99 Change-Id: Iaf97241291ba233e1c9597b2274adad81e3ffb01 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-11Run tempest from docker using run_tempestMorgan Richomme1-3/+2
Change-Id: I8eabcba8de2319fd7e5f24f057a8a752bfce3cd7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-12-11First upload of Functest Doc for BrahmaputraMorgan Richomme2-0/+318
Installation and user Guide JIRA: FUNCTEST-112, FUNCTEST-113 Change-Id: I8c0210684187be3102e7b4ad82f59082faeca470 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-12-11Remove gsutil python module in the docker imagejose.lausuch1-2/+1
It is not used since it will be used only in the jumphost to push things to the artifact repository Change-Id: Idabc6e68b44ee87310a3875b834fc92508a1d511 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-11fix path bug add / in cofig file for rally res dirMorgan Richomme1-1/+1
Change-Id: I7b78eeec1dd038dd10e588ede1b36589f9cd775f
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-12-10Merge "Add test dependencies in Functest config files to know if the ↵Jose Lausuch1-0/+58
tescase/test suite can be run (or not)"
2015-12-10Add gsutil python module in the docker imagejose.lausuch1-0/+1
Change-Id: Ic92ff6cfd14a6a7d35cc3fae8aff54b90761a32a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-10Add WORKDIR in Dockerfilejose.lausuch1-0/+2
Change-Id: I5c063e1448184382ff2faefb7e34482c63482021 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-09Create a common network for functest for all the testsjose.lausuch4-12/+92
Some installers provide a private network by default, if that is the case, it will not create another one. This is needed for Rally/Tempest to work. Removed from vPing test case, since it will use that network as well. Change-Id: Iaff8a9e18026fe5aba31e567a4a8d5faf4a0bb6b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-09Add test dependencies in Functest config filesMorgan Richomme1-0/+58
to know if the tescase/test suite can be run (or not) JIRA: RELENG-69 Change-Id: I54e92a0a0b89fe64f6cd07f05b66859278ed84a8 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-12-08Add ssh 700 rights to the .ssh directory in the docker imagejose.lausuch1-0/+2
Change-Id: Id941c48134c64e8985ec342f60eb82d6bf276ba1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-07condensing python code in utils check_credentialsDan Radez1-19/+2
comment said: TODO: there must be a short way to do this doing if os.environ["something"] == "" throws an error This does the same thing removing the try catches using conditionals and list functions Change-Id: I614e0aa49ab62aeeb738bdd36ef55452d585d8fb Signed-off-by: Dan Radez <dradez@redhat.com>
2015-12-04Add support of joid, apex and compass when running odlMorgan Richomme1-0/+9
probably to be refactored soon but used to test jenkins jobs Change-Id: Iacc78f3cc2655ce2a0baf2fa0f256f5f07d1c7bd JIRA: FUNCTEST-83
2015-11-30Merge "Add functions to retrieve POD name in Functest"Morgan Richomme4-27/+46
2015-11-30Add functions to retrieve POD name in FunctestMorgan Richomme4-27/+46
JIRA: FUNCTEST-108 Change-Id: I3453933e12cd7af9b06f50b327873f7516609566 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-11-30Add cinder python client library to Docker containerjose.lausuch1-0/+1
JIRA: FUNCTEST-73 Change-Id: Id6e0a71f913855b37e07176d334da5b1f63c86bc Signed-off-by: jose.lausuch <jose.lausuch@ericsson.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-27Clean Functest repo, dashboard fully migrated to RelengMorgan Richomme6-589/+0
JIRA: RELENG-7 Change-Id: Iddbed5922097a54ba0d56ce59b8ab93264e90603 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-11-25Don't check for env variables if openstack credentials are givenjose.lausuch1-12/+17
JIRA: FUNCTEST-100 Change-Id: Ibef44cf00ec2a2b0ff5bfe21465918ff86bfc589 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-11-25use joid rather jujuMorgan Richomme1-1/+1
to be cinsistent with other installers JIRA: FUNCTEST-86 Change-Id: I1b15d32736896ddbaee265fd6366be1587cbebab Signed-off-by: Morgan Richomme <morgan.richomme@orange.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-25Refactoring of committersMorgan Richomme1-4/+2
HP guys and Metaswitch member step down JIRA: FUNCTEST-0 Change-Id: I18f64a25eddec41cc315691c4c6454a4af5aa810 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>