summaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/libraries/run_tempest.py
AgeCommit message (Collapse)AuthorFilesLines
2016-01-30Copy tempest.conf to results dir to be uploaded to artifactsjose.lausuch1-4/+7
Change-Id: I9cfe566c085dc45410a03650a9cf2a84de004d19 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-29Create stdout and stderr files for Tempest resultsjose.lausuch1-7/+18
Change-Id: Ibd45dd628dc64db16af28102276f5523f55fcaf4 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-27Option to redirect stderr output to a file for Tempest testjose.lausuch1-1/+19
The output when we run Tempest from CI is too long if there are many tests failing. This patch intends to show only the test cases that passed/failed within a table. If troubleshooting is needed, it will be a log file with all the stderr in it. Change-Id: If5b0f35463a3dae06a0c177de4dc473bfc4687c5 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-22Put scenario in version field on the Test DB (rather that git indication)Morgan Richomme1-2/+2
Change-Id: I22f7ff3841d7fca637e400d92926d2e1b1755371 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-19Add mention to apache 2 license in Functest files and remove unused filesMorgan Richomme1-1/+6
Change-Id: Iaf67792ad61351d0573c8d92e5d78f5f7a6e86ff Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-13Place config_functest.yaml outside the functest repojose.lausuch1-1/+1
If config_functest.yaml is given it will be placed in: /home/opnfv/functest/conf/config_functest.yaml If not given: copy default from repo to that location Change-Id: I816bf5ccf8e0a5b8ebde2a0ab924657533f49127 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-07Searching for shared private networksViktor Tikkanen1-3/+10
Tempest suite assumes that there is at least one shared private network in the system. get_private_net() returns now first found shared private network (instead of first found private network). Change-Id: I892abcacff2c0349dd42444a632f71c6a14a0861 Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
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 Tikkanen1-2/+4
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-22Use repos_dir env variable in all Functest scriptsjose.lausuch1-6/+8
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-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-11-30Add functions to retrieve POD name in FunctestMorgan Richomme1-1/+2
JIRA: FUNCTEST-108 Change-Id: I3453933e12cd7af9b06f50b327873f7516609566 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-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>