aboutsummaryrefslogtreecommitdiffstats
path: root/testcases
AgeCommit message (Collapse)AuthorFilesLines
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-16Merge "OpenStack cleanup script"Morgan Richomme3-1/+559
2015-12-14Add a flag to push the results to the DB optionalyjose.lausuch2-3/+14
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.lausuch1-0/+3
JIRA: FUNCTEST-99 Change-Id: Iaf97241291ba233e1c9597b2274adad81e3ffb01 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-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-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-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-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-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-12Bugfix: cloudify deployment errorboucherv1-1/+1
Change-Id: I9e97cc3f5f17de53f2c027a71c1bf9adba9054ee Signed-off-by: boucherv <valentin.boucher@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-30Bugfix: test payload valueboucherv1-1/+1
JIRA: FUNCTEST-38 Change-Id: I4ca4b6b1075c96b0450eed79f44404dc70f35ad1 Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-30Updated vIMS result formatboucherv1-4/+7
JIRA: FUNCTEST-38 Change-Id: I0b3633d4b377ca3b9824719d517ae35b20b4e1bf 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-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-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-28vIMS test integration and move "push_results_to_db" methodboucherv3-18/+25
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.lausuch2-21/+16
2015-10-26Merge "Include cirros image in the docker container"Morgan Richomme2-15/+4
2015-10-26Merge "Change duration to integer seconds in tempest results"Morgan Richomme1-1/+6
2015-10-23Move git clone of ODL tests repo to Dockefilejose.lausuch2-21/+16
JIRA: FUNCTEST-80 Change-Id: I39a0928f7a8c74d1cbb6db47b30e2cf2f9ae4ca1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-22Include cirros image in the docker containerjose.lausuch2-15/+4
JIRA: FUNCTEST-73 Change-Id: Ie2ddaac3dbdbdad09832094fe31264abe4ba8118 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-21Merge "Refactor Functest docker container"jose.lausuch1-1/+10
2015-10-21Refactor Functest docker containerjose.lausuch1-1/+10
1. start.sh has been splitted into 2 scripts: - prepare_env.sh : installs functest environment without running any test - run_tests.sh : run the Functest tests 2. Add possibility to give the config_functest.yaml in the docker run command. So far, it has always been used the default in the repo. 3. Possible to give the repos the branch and commit ID to be checkout/reset to. This allows versioning control for the repos 4. Added -x permissions to shell scripts JIRA: FUNCTEST-29 Change-Id: If4b779f5baa37531603955db3681e24a5e08251a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-21Removed ODL create_env from config_functest.pyjose.lausuch1-17/+0
Since create_env script in ODL suite is not longer needed for ODL tests because we have the libraries already installed in the docker container, this is not needed any more. Change-Id: I33a23c3acc0d931f6560f7b3a1d2054e5d277025 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.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-19change expected response to 404Peter Bandzi3-3/+3
HTTP response 404 means not found which should indicate that requested entity was not found. And this is what we want after delete. JIRA: FUNCTEST-79 Change-Id: I7dc501dfe3581e5549b002abe1018add88fe8d83 Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
2015-10-19Merge "ODL test suite requirements.pip moved to general requirements"Morgan Richomme3-51/+0
2015-10-19ODL test suite requirements.pip moved to general requirementsjose.lausuch3-51/+0
create_env script removed. Modules already installed in the docker image Change-Id: Ied166532b47f0f3b6189251776c984df9cf3570d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-19Merge "Create run_tempest out of run_rally"jose.lausuch1-0/+144
2015-10-19Merge "refactor run-rally and integrate API to push results into DB heavier ↵Morgan Richomme1-81/+83
refactoring due to new verison of Rally will probably needed"
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-16Bugfix: Add default DNS on subnetboucherv1-1/+1
JIRA: FUNCTEST-38 Change-Id: I6c2d217d665fd6a702bcb10efd4933c01a7b3ca4 Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-16Merge "Move the configuration from test scripts to config_functest.yaml"Morgan Richomme6-16/+64
2015-10-16Move the configuration from test scripts to config_functest.yamllanqinglong6-16/+64
JIRA:FUNCTEST-77 The configuration is in onos test files Get them out, put in config_functest.yaml Change-Id: I3f7b868b61a7e66596f7c0cc232c5b045d77aecb Signed-off-by: lanqinglong <lanqinglong@huawei.com>
2015-10-16Bugfix: venv pathboucherv1-3/+1
JIRA: FUNCTEST-38 Change-Id: Ia5b6b9584fcac65c956bbc8a1a17155950b535b9 Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-15Bugfix: venv pathboucherv1-1/+1
JIRA: FUwNCTEST-38 Change-Id: I13c1b584dd39ec678e7e8e6b6a7cb48105f42335 Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-15Merge "Write a simple adapter in functest project to run TESTON"Morgan Richomme1-1/+9
2015-10-14intergrate the basic function senario and testcases in TESTONlanqinglong2-10/+33
JIRA:FUNCTEST-47 include tests: Northbound test Ovsdb test Change-Id: Icd5bc2da117cc5c2f7196a0f06fa8934fd8e022f Signed-off-by: lanqinglong <lanqinglong@huawei.com>