summaryrefslogtreecommitdiffstats
path: root/docker/run_tests.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-01-22Added --no-clean option for run_tests.shViktor Tikkanen1-4/+11
Previously all the OpenStack resources (networks, VMs etc.) created by user were deleted after executing tempest, vims and rally test cases with run_tests.sh script. New --no-clean option can be used for preserving resources created by user so that the tests can be run also in setups with deployed stacks. Change-Id: I8c9505acf955c54b2b837d8ca916dc729c97bbca Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
2016-01-22Push ODL results to DBMorgan Richomme1-4/+6
JIRA: FUNCTEST-57 Change-Id: I8e998382aff0cc60e82338c27d234abe6be5c505 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-20create 2 vPing scenario:vping and vping-userdataMorgan Richomme1-0/+5
the new vping scenario does not use the userdata/cloudinit functions JIRA: FUNCTEST-3 Change-Id: Ia535a50a9cfd50d520b87c2dd9195747a61b0f1f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-20Merge "Added vPing2 using SCP and SSH instead of nova userdata"mei mei1-1/+1
2016-01-20Added vPing2 using SCP and SSH instead of nova userdatajose.lausuch1-1/+1
Change-Id: I194f88a4d213e5ad2225241420a9254878f4f7f4 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-19Add mention to apache 2 license in Functest files and remove unused filesMorgan Richomme1-1/+7
Change-Id: Iaf67792ad61351d0573c8d92e5d78f5f7a6e86ff Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-19Remove --offline flagjose.lausuch1-11/+15
Also, add extra info messages for debugging purposes. Change-Id: Ia5a26978817b1a7c00d2a3deb497a407e8805b5d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-18Fix array of test in run_tests.shjose.lausuch1-3/+4
Change-Id: I06a33789f49bf5f7861b0d11fb54a10eb6ac5598 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-18Prepare integration of ovnoMorgan Richomme1-2/+6
JIRA: FUNCTEST-125 Change-Id: I9d13509ea91f3a5359aa4c16f9eccb8719279346 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-17Replace command "pass" in the shell script by ":"jose.lausuch1-3/+3
"pass" is a python command, not bash. ":" is the equivalent. Change-Id: Ied93813308599479b82729c66c10397135477a47 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-15Remove ODL and ONOS from base scenariosjose.lausuch1-1/+1
Change-Id: If0a1865bfd8ee4cd1e9355a83aae918a728ebe95 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-15Remove extra output if CI_DEBUG is falsejose.lausuch1-1/+5
This way we have a nicer view in Jenkins when preparing Functest Change-Id: Ie0df3aa8b07ac2fd726d11b1ab01a7291d4c2c5e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-15add doctor test caseRyota MIBU1-1/+6
Change-Id: Ia40face4cb32247542d5841e00caafb2cf927c2e Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-01-15Modify ONOS test for CI runninglanqinglong1-1/+1
Change-Id: I2ce678c1239920071f9eeb6fe251a92cb3737e6a Signed-off-by: lanqinglong <lanqinglong@huawei.com>
2016-01-14Adds check to make deploy scenario is also not "none" (default)Tim Rozet1-1/+1
Change-Id: I9727c9b2f1fc35c3eb39f2930bb5dd0684bb570c Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-14Fixes syntax error on if statement with run_tests.shTim Rozet1-1/+1
Change-Id: I97566b19a015780b7d26b3630605f969a8302f2e Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-14set up mechanism to tun only runnable tests in CI based on scenarioMorgan Richomme1-1/+8
JIRA: FUNCTEST-119 Change-Id: I342c027c79fab1cc9fa65ddf8222e7b12b946af8 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-13Create volume type before running Rally testsjose.lausuch1-0/+3
Change-Id: Iaf14b797e6cbb7faa32e06fbc038c7f6b14a51cf Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-12Prepare Promise integration in FunctestMorgan Richomme1-2/+6
JIRA: FUNCTEST-68 Change-Id: I9dd3e49cf7cbcec932fb08af359c6e4784818155 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-11Prepare onos integration in FunctestMorgan Richomme1-1/+5
JIRA: FUNCTEST-50 Change-Id: I50c7db5a05dd5aa78321ba77fab3902232ea4f36 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-12-30Support for customized tempest case listViktor Tikkanen1-2/+2
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-22Merge "Use repos_dir env variable in all Functest scripts"jose.lausuch1-5/+5
2015-12-22Move check_os call to prepare_env.shjose.lausuch1-8/+0
Change-Id: Ifcc9ef24975f83f6c0ee021c76cc056f383f3f5e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-22Use repos_dir env variable in all Functest scriptsjose.lausuch1-5/+5
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-21Script to check the basic OpenStack servicesjose.lausuch1-0/+7
JIRA: FUNCTEST-118 Change-Id: I92372bc098c48e406e69a91c4d754e8c1e4388a6 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-18Fix the call to the ODL test.jose.lausuch1-16/+12
TODO: specific parameters for each installer Change-Id: I5c0a88261c70319f7bf89c2ff28d55f740e443d2 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-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.lausuch1-4/+13
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-11Run tempest from docker using run_tempestMorgan Richomme1-3/+2
Change-Id: I8eabcba8de2319fd7e5f24f057a8a752bfce3cd7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.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-10-30Change default order of testsjose.lausuch1-1/+1
Change-Id: I342b999f4a81e5568e01f6ebd7456dcf7048218e 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-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-22Add possibility to run specific set of testsjose.lausuch1-71/+127
JIRA: FUNCTEST-29 Change-Id: I20f1556911866cc7922cff9923ef7d01a95355ad Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-21Refactor Functest docker containerjose.lausuch1-0/+97
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>