aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
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-18[functest] modify functest prepare scripts to adapt compassmeimei1-2/+3
JIRA: COMPASS-157 Change-Id: I81f1f41ff7a10e9bcea1cb46b9dc2e2f8e169bae Signed-off-by: meimei <meimei@huawei.com>
2015-11-12Bugfix: cloudify deployment errorboucherv1-1/+1
Change-Id: I9e97cc3f5f17de53f2c027a71c1bf9adba9054ee Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-11-05Add possibility to give Openstack creds file to the docker containerjose.lausuch1-8/+10
If the file is given through a docker volume, it will not use fetch_os_creds.sh, it will source it directly. Usage: Add the following to the docker command line: -v $(pwd)/<your_local_creds_file>:/home/opnfv/functest/conf/openstack.creds Change-Id: I24c20378c940aaa1d9f93d5e6c57b3243b50aab5 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.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-11-02Merge "Bugfix: test payload value"boucherv1-1/+1
2015-10-30Bugfix: test payload valueboucherv1-1/+1
JIRA: FUNCTEST-38 Change-Id: I4ca4b6b1075c96b0450eed79f44404dc70f35ad1 Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-30Merge "Updated vIMS result format"Morgan Richomme1-4/+7
2015-10-30Updated vIMS result formatboucherv1-4/+7
JIRA: FUNCTEST-38 Change-Id: I0b3633d4b377ca3b9824719d517ae35b20b4e1bf Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-30Change default order of testsjose.lausuch1-1/+1
Change-Id: I342b999f4a81e5568e01f6ebd7456dcf7048218e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-29Merge "Fix so that given config_functest.yaml is copied to functest repo dir"Morgan Richomme1-0/+13
2015-10-29Fix so that given config_functest.yaml is copied to functest repo dirjose.lausuch1-0/+13
Change-Id: I985d7d7c1d1cba17e5ebc76514a82a15f682b26f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-29Add vIMS test-case in run_tests scriptboucherv1-5/+9
JIRA: FUNCTEST-38 Change-Id: I3e4b640f094286a9b4b8debbbae4700c12c0fdc6 Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-29Added functionnal test and push result to dbboucherv1-8/+89
JIRA: FUNCTEST-38 Change-Id: I96db1d5b90016183928e00603a03801d548287ee Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-29Fix error when deleting the network in vPing test.jose.lausuch2-8/+26
JIRA: FUNCTEST-93 Change-Id: I9472c1183eea86b0c018059aa17b76bd2932ad8e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-29Small correction of the --test flag in run_test.shjose.lausuch1-1/+1
Add the option to allow -t|--test|--tests Change-Id: I2ad63f2b23235fe28596fef908a1c9d6991201a2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-29Move creation of glance image to vPingjose.lausuch2-44/+35
Since we only need the glance image in Vping test case, we create it in the vping script, and not in config_functest.py JIRA: FUNCTEST-74 Change-Id: I906ba94344d836bc7835a3dcf478933ff622bd54 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-28Reversed: Added reset to rally commit ID in prepare_env.shjose.lausuch1-4/+3
I did not realized it was correct, however there was a small bug. The rally repo git reset command is done after the if-else clause. Change-Id: Ia6f61ae3a3d09a5148cfbea7c47cf317fd949c11 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-28Merge "ODL script bugfixes"jose.lausuch2-6/+6
2015-10-28Added reset to rally commit ID in prepare_env.shjose.lausuch1-0/+8
Change-Id: I0d662409bfde353c8efd2fa3fd8cacf9c849428b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-28ODL script bugfixesjose.lausuch2-6/+6
- misspelled word bugfix, old-->odl - integration directory removed JIRA: FUNCTEST-91 Change-Id: If97cccee446ac834133b51a9880684fa2ced6c07 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-28PGP network problems Fixjose.lausuch1-3/+2
Change-Id: Ib4ab60ef8305f74eeb63454461d7587751598680 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-28vIMS test integration and move "push_results_to_db" methodboucherv6-18/+54
Move "push_results_to_db" method to functest_util Updated some files for clearwater vIMS functional testing Change-Id: I21628b063470963e4e4425a0f89fefa33494e40d Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-27Merge "Move git clone of ODL tests repo to Dockefile"jose.lausuch3-22/+18