summaryrefslogtreecommitdiffstats
path: root/docker
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> (cherry picked from commit dce18f616c5c0bf019f72c68c872570f26d2978b)
2016-01-22Push ODL results to DBMorgan Richomme2-4/+8
JIRA: FUNCTEST-57 Change-Id: I8e998382aff0cc60e82338c27d234abe6be5c505 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 3883923445f5d11e2939865e08438f10f18bc6a9)
2016-01-21Temp solution to workaround the problem with pip when installing tempestjose.lausuch1-0/+5
Change-Id: If9c44fedd3e21a77d7ba434f794db24e16fc4ff1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit b9ef32116182fbe7f5f0d75422fa440c78c962fc)
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> (cherry picked from commit 4475765f05a24e14f1d90db28941ff5ba5ca1be7)
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> (cherry picked from commit 625dde8e972f2586e986a46225ce87ebd3823b79)
2016-01-19Add mention to apache 2 license in Functest files and remove unused filesMorgan Richomme5-2/+47
Change-Id: Iaf67792ad61351d0573c8d92e5d78f5f7a6e86ff Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit cc27777f84ea018cc2c0487a4fc3ff0c3b6d358f)
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> (cherry picked from commit a705adb5cfc718a205faee1f463522ba41cb2b34)
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> (cherry picked from commit 7256a2b3ad02e338c8e80d4e9f1561032340a307)
2016-01-18Prepare integration of ovnoMorgan Richomme3-2/+11
JIRA: FUNCTEST-125 Change-Id: I9d13509ea91f3a5359aa4c16f9eccb8719279346 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 77718c073d682f4330b751c67f76b05e08c26b03)
2016-01-17Remove FUNCTEST_BRANCH and FUNCTEST_COMMIT from the outputjose.lausuch1-4/+0
Change-Id: I8910f37a4ee4925a79b712b0f36c768e371cb095 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 10426bd862d91fda2635fb68e9e106f260303e33)
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> (cherry picked from commit 14d783b94e759139d1edd54bc312fe2811080e4f)
2016-01-15Remove ODL and ONOS from base scenariosjose.lausuch1-1/+1
Change-Id: If0a1865bfd8ee4cd1e9355a83aae918a728ebe95 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 64235a3a410efb098fce619b44672cab6d357b9d)
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> (cherry picked from commit 973c722f929eb3652d19a15911404f31a9f66216)
2016-01-15Added more consistency when getting the config_functest.yamljose.lausuch2-10/+6
Change-Id: Ie48e16adee25f7a00d6b9d4a45e804a066064eee Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 6a865b115f7533d70ca622172665c0da6ddac89d)
2016-01-15add doctor test caseRyota MIBU1-1/+6
Change-Id: Ia40face4cb32247542d5841e00caafb2cf927c2e Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com> (cherry picked from commit 4781a7b06cdba9bcf4489b1cb4e94ffdeec677bd)
2016-01-15Fix bug ruby sig testboucherv1-1/+0
Change-Id: Ieb908e7af2365381ad576a3da9a0787f96c9efe2 Signed-off-by: boucherv <valentin.boucher@orange.com> (cherry picked from commit dee9be014293503645069ff6796f5231b3f7ae48)
2016-01-15Modify ONOS test for CI runninglanqinglong1-1/+1
Change-Id: I2ce678c1239920071f9eeb6fe251a92cb3737e6a Signed-off-by: lanqinglong <lanqinglong@huawei.com> (cherry picked from commit be4d2778d535272a3683cb8e518c85065af6a582)
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> (cherry picked from commit 5509502fa7ebe0555c52afa5d574f4c1bba04eac)
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> (cherry picked from commit e751fb5714578eee85ce397d023eb83f5221cc67)
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> (cherry picked from commit cdf5e6a2fd05f07a5db92175777113d732258a94)
2016-01-14Create volume type before running Rally testsjose.lausuch1-0/+3
Change-Id: Iaf14b797e6cbb7faa32e06fbc038c7f6b14a51cf Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 8a6a68640b3ca93a958fd39aa94cfd07f3eb16ec)
2016-01-14Change functest branch to stable/brahmaputrajose.lausuch2-6/+2
JIRA: FUNCTEST-123 Although this is master, the idea is to run the tests using brahmaputra branch. After brahmaputra, we will change this back to master. Change-Id: Ib67f090724ce733b05c37a69a746b879b1143776 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 48af5a794b5bbe9d6cb84f02c1e314dd83adf912)
2016-01-13Remove bundle install from Dockerfilejose.lausuch1-2/+1
Change-Id: I5d507b350a5651489947ef61a4219d2bf86ff340 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 98f83353966afd01d60c26e142ba7c2dc8fe7bfc)
2016-01-13Bugfix: create functest conf dirjose.lausuch1-0/+1
Change-Id: I6364adb9b6fa9345d098f3061cd36589fe6f33b6 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 7293a8faf40846d66d68a3ca8ae5359b28662d0e)
2016-01-13Place config_functest.yaml outside the functest repojose.lausuch2-14/+4
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> (cherry picked from commit 00b51ffe114702ce207aa7ba2e40f01984c0c57c)
2016-01-13Remove references to foreman installer.jose.lausuch2-2/+2
Foreman is not longer supported, the only INSTALLER_TYPE values are: fuel|apex|joid|compass Change-Id: I3c86335d16cdcab4796892a769189fcc4e7457db Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 0f9250f654be1e2ced4b6d640ec13e7e78db39ee)
2016-01-13Change MTU size in the containerjose.lausuch1-0/+2
Change-Id: I605e8e59f95b243710fdb514ef4460fbd40d590f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 3c9dcd85e3c40a66d58c0a0c0c4d61d87144ce4d)
2016-01-12Prepare Promise integration in FunctestMorgan Richomme4-2/+24
JIRA: FUNCTEST-68 Change-Id: I9dd3e49cf7cbcec932fb08af359c6e4784818155 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 3d064f457576fe87cce5813af7d33cf45e898e3d)
2016-01-12make doctor tester available in functest docker imageRyota MIBU2-0/+3
Change-Id: Icde0cb5fc25769f2fd029ae6bb93ea2cb5e42295 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com> (cherry picked from commit fc938a5b176eedfa0e79662b6411105118c3d78e)
2016-01-11Prepare onos integration in FunctestMorgan Richomme5-2/+26
JIRA: FUNCTEST-50 Change-Id: I50c7db5a05dd5aa78321ba77fab3902232ea4f36 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 2140461198cdb8dea2f60a66a0ddf90bb1ef54da)
2016-01-03Merge "Support for customized tempest case list"Morgan Richomme1-2/+2
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-30Merge "Update orchestrator (cloudify) version from 3.2 to 3.3"boucherv1-1/+0
2015-12-28Add ruby 1.9.1 installation in docker imagejose.lausuch1-1/+2
JIRA: FUNCTEST-120 Change-Id: I4540fcb59e1367102c3c8cb5387048ebfda80af7 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-27Update orchestrator (cloudify) version from 3.2 to 3.3boucherv1-1/+0
FUNCTEST-121 Change-Id: I05de60dae213e2f2b3ba272917dc70ca03e5fe90 Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-12-23Add 'rvm use system;' to Dockerfile for vIMSjose.lausuch1-3/+4
JIRA: FUNCTEST-120 Also changed the order of the image command Change-Id: Iecd4025929b93f64356a79cf45df1d1eca257a36 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-22Fix bug 'unrecognized arguments: start'jose.lausuch1-1/+1
Change-Id: Ie29f1cdcfc84a0f3c2e2cf9e386d3ca0b36c45c3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.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.lausuch2-8/+7
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.lausuch2-16/+13
TODO: specific parameters for each installer Change-Id: I5c0a88261c70319f7bf89c2ff28d55f740e443d2 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-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-14Adding BGPVPN repository to the Docker image and scriptsjose.lausuch3-0/+18
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-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>