summaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2016-05-14Fix Rally versionJuha Kosonen1-1/+1
Use Rally version 0.3.3 instead of the latest in repo. JIRA: FUNCTEST-230 Change-Id: If2af8190d16e26c8bee27749e03fec4c046d596b Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-04-15Update python-openstackclient to version 2.3.0jose.lausuch1-2/+2
Change-Id: Ic9e68ade15e93f76d17db715c5790eaa31b49209 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-15[BGPVPN] Use system wide installation of tempestNikolas Hermanns1-3/+5
Since rally setup tempest system-wide now we do not integrate with the virtual env of tempest anymore. Change-Id: Ia5f132371c4eb0b67ac84bf044b349480195f633 (cherry picked from commit 8e2969f2137764a4a1b27d01d82b4d9babcdc519)
2016-04-11[BGPVPN] Remove odl-vpnservice test casesNikolas Hermanns1-14/+0
The odl-vpnservice test cases are meant to be tested in the mini-net setup. We would need to change our enviroment under test to include mini-net to be able to run this tests. Since this is not wanted we remove the test cases. Change-Id: Ic916e1e89d54fea78371bc566d8428141949e412
2016-04-11[BGPVPN] Bugfix for /etc/tempest/ no thereNikolas Hermanns1-0/+1
Change-Id: I0dbbbf486e97c202eba2b4b38d877a836942759b
2016-03-18Fix support for CACERT and set OS_INSECURE=truejose.lausuch1-3/+12
JIRA: FUNCTEST-145 Change-Id: If8fce037117d7c7d16d08a558d0675cbfe5f9836 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-03-18Merge "Fix pip install in Dockerfile" into stable/brahmaputraMorgan Richomme1-1/+1
2016-03-18Fix pip install in Dockerfilejose.lausuch1-1/+1
NOTE: This fix is just in stable/brahmaputra because it has been fixed in master together with new features that don't have to part of stable branch Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-03-18Revert "Checkout the Latest stable Tempest"Nikolas Hermanns1-1/+1
This reverts commit af8b4ca46eb0baa867a8cbc3731debc28e31890b. Change-Id: I85d4201b862cec02092df4ffe969cdbe11c1d923
2016-03-18Checkout the Latest stable TempestNikolas Hermanns1-1/+1
To not consume any unstable tempest we checkout the latest stable version. Change-Id: I5a0a29a12bf6e3205988df2151b2f3b6477904f2 (cherry picked from commit fd95510eb2caa63ec1613b271fb620f9c66e2278)
2016-03-04Rally and Tempest pre-installed in the Docker image.jose.lausuch1-0/+4
Also, upgrade Rally to version 0.3.1 JIRA: FUNCTEST-147 Change-Id: I6aa15a7c282462058b7786c7dc7174d48c905d3a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit def1634a5b8a2c8ca794fa878394234a8ebb3468)
2016-02-25Fix Dockerfile to use proper bashrc file for the alias 'll'jose.lausuch1-1/+1
Change-Id: I7236fa9f00b8f0200f910ac4833c58237f66aef2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 851834d0fe59639aeb261c71b9b561eb6d3de563)
2016-02-25Updates and fixes to the user guidejose.lausuch1-1/+1
Change-Id: I42198bbdf4f9e6f6f337761b6ff6900c4bb7f171 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 94dbd87d341ed72beb975b4b7b76135ea52d3b17)
2016-02-22Add git support for Doctor repo in config_functest.yamljose.lausuch2-3/+18
Change-Id: I10ad0dc6cd6697a2a93f5e11edcdd69f70f86c5f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit e0e52cec1e43491714f0ce078a7722e2cc3d9fca)
2016-02-19Corrected using of echo commandViktor Tikkanen1-2/+2
Full path of echo is needed when using -e option in Docker file. Otherwise -e will be output as part of the string. Change-Id: Ic226209a3ef5dac991ccae996f6e7afa0061fccf Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com> (cherry picked from commit 78fd590723f24a723fe8ab32bf992b80f0956f25)
2016-02-18Add VI and alias support in the docker containerjose.lausuch1-0/+6
When editing a file with VI in the container, the keyboard is not properly setup. This options will help to do things more smoothly.. Change-Id: I4c9004a4df067d7bbb558461dd98d76e32e64591 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 80ddf6005f1e1afbcbc3183f2a0ced1a66fdfe8b)
2016-02-11Enadled --serial option for run_tests.shViktor Tikkanen1-1/+11
It could be useful to execute e.g. Tempest test cases in a single thread in order to troubleshoot possible concurrency problems. Change-Id: I5e5fc190fb4483ff075a8f837a8d4116ece90c80 Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com> (cherry picked from commit 66df82a76334015e3e2d25ddcc22b343b110320c)
2016-02-10Bugfix add "fi" at the end of the if-else statement in run_tests.shjose.lausuch1-0/+1
Change-Id: I14945cf335803936043ab71dff93250577bc6601 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 188aef4912beee7a8eb87272de1500a1bded99f0)
2016-02-10Add -n|--no-clean flag to vPing,Tempest,Rally,vIMS scriptsjose.lausuch1-5/+9
Use --no-clean flag in run_tests.sh to tell the test scripts to cleanup or not the resources Change-Id: I597eca5199e1eaf16b1f03a223222d33e4adf170 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit abc81e24d33b9bf8d2f8fb05dc5f5f57443abe93)
2016-02-10Rename the vPing scripts proplery and adapt documentationjose.lausuch1-8/+9
Change-Id: Idb498eb7cefd938006661f42f1bf1772395d9d47 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-04Use python json parser to get the results form the Promise json reportjose.lausuch1-0/+1
JIRA: FUNCTEST-68 Also, add sleep to let the promise instances terminate, otherwise, clean_openstack will detect them while they are still being removed and will fail. Change-Id: I7a5543143758483eb1d7e06dbe4922e9f1e05cfb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 75149a9d278b5a969606ad182fff580c08e37d6c)
2016-02-03FIX:use 'info' after sourcing the common.shgrakiss1-1/+1
Change-Id: I0572375d79983791970ece0d31ed2e3d7df8cfc3 Signed-off-by: grakiss <grakiss.wanglei@huawei.com> (cherry picked from commit 778325ba0b725ab524ffb1944140e3e555dcfd5d)
2016-02-02bug fix to run tempest and minor display error in run_test.shMorgan Richomme1-1/+1
Change-Id: Ic30bdd1c514aa8dcab37ba91de2f8879729a80a2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 86c95df05ef125218f392748a177d2f9aa79848f)
2016-02-02Small improvements with output messagesjose.lausuch1-9/+3
Change-Id: I4c274df30bc3123bef23d5423a1762a07dd93e68 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit ac0d556e54a09b5a3470b20384ac58f7ed383202)
2016-02-02Use openstack client to avoid keystone deprecation warningsjose.lausuch1-3/+3
Change-Id: Ib82b3f20d0c23fc67201c7159e3b3a6de5c201cf Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 906b3b2f7e85f1269d009684b1a557a6c19e96bc)
2016-02-02Use generate_defaults instead of os_defaults fixed parametersjose.lausuch1-1/+7
JIRA: FUNCTEST-131 Running generate_defaults.py in prepare_env.sh (before running any test) will create a file with the CURRENT OpenStack objects in the deployment. After each test, the cleanup script will take into consideration those parameters instead of the specified in os_defaults.yaml Keep os_defaults.yaml for the moment Change-Id: I5f38fef47f0a6d79407d1d582b1e7d3713503e07 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 47635924e6def36be3c44a047d91018e47a439eb)
2016-02-01Replace openstack single clients by python-openstackcclientjose.lausuch1-6/+2
Some projects like Promise need to use the openstack cli directly. This requirement will also install automatically the following dependent clients: python-cinderclient (1.5.0) python-glanceclient (1.2.0) python-keystoneclient (2.1.1) python-neutronclient (4.0.0) python-novaclient (3.2.0) python-openstackclient (2.0.0) Change-Id: I6836b8765364b30ae877ec4d1e8d88c8927b030d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit ff89aea46827ac2fc81429354ad28dfbb4c57fe3)
2016-01-29Changed to use $(repos_dir) and removed #Stuart Mackie1-1/+1
Change-Id: I6e4004aad2d55309b520647eee59608ee7fa66d7 Signed-off-by: Stuart Mackie <wsmackie@juniper.net> (cherry picked from commit abfd2e7b94e4028e8ac032a5282f648b9dac08ec)
2016-01-28change for get joid onos iplanqinglong1-1/+5
(cherry picked from commit 03ec0a88e72ed6c2fdc2995d0c93d2c61f847ae3) Change-Id: Ic6d420d855615ddf53de707c19771fffaba47bbf
2016-01-28Follow change in joid use SDN_CONTROLLER_IP env var instead of ODL_CONTROLLER_IPMorgan Richomme1-1/+1
Change-Id: I298cfdfe880c52a18580eb607294cf4c7f353e71 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 73f040dd4998cadfbaa7b0706a441ae6ce6f6ffc)
2016-01-28Volume type management moved from run_tests.sh to run_rally-cert.pyJuha Kosonen1-2/+0
Change-Id: I80c8b27e041ec5089b816b8515cbc8fa1e8b9eea Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 9922669c3dd92d43c6e387c8077255153c35b71e)
2016-01-27typo fix on odlMorgan Richomme1-1/+1
Change-Id: If761b7c38f38d3f2c691eab36b797ca7ce7ccb49 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 39724bcf9aef79aa8136863bd07a701b8df14489)
2016-01-26Patch ODL scenario to support joid (different keystone and neutron API IP)Morgan Richomme1-2/+7
JIRA: FUNCTEST-124 Change-Id: I84834fcb78e652f3b39696f0e17bf54cb5804559 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 1a40722cd446af5416029dc0f3b371a835fa444c)
2016-01-26Add function for Promise libraries pre-installjose.lausuch2-3/+1
Change-Id: I149f87b9edc40435d32e493f771f58de46e2757f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit c08fa5882b111a65ebcf121b66d5107d481b66fd)
2016-01-26Add missing directories env variables in common.shjose.lausuch1-0/+3
Change-Id: I600af261bed89e7fd90687ca44100318722aa91d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 3eb953d20bbecf56fb91a24d5c1fba7f56a606c3)
2016-01-26Fix typo in requirements.pipjose.lausuch1-1/+1
Change-Id: I59c5514730c5b86723e777f9e2a8d49233e22512 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 4173e2539cbf50f1385a1ce131b6a4af1b5ef29f)
2016-01-26Use paramiko library to SSH and SCP the instances in vPing2jose.lausuch1-1/+2
Change-Id: I584c24fee5eae072c6885967170e5aded5fce172 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit e4b116d2054966e158ac647eea332aba8b84b89f)
2016-01-26Use rally cert scriptjose.lausuch1-1/+1
Change-Id: Ia550e3ca7742db596dd3817841ed31a101adef27 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 4753bf597ebc953c4a381990f570e78dc542bbf0)
2016-01-26bugfix: syntax errormeimei1-1/+2
Change-Id: Ic068cd162e49abe4ce3ce0f184c224b65bfcfb6c Signed-off-by: meimei <meimei@huawei.com>
2016-01-25Adding BGPVPN and VPNSERVICE testcasesNikolas Hermanns1-28/+49
This commit add the testcases to the testcase filter and makes them run able from run_test.sh Change-Id: I489687f4f011e77da63e3630b0e70f957b3343c5 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> (cherry picked from commit ea4c222b385c93442a8d3cb4c5cf8747c21efdad)
2016-01-25Add support for Promise test casesjose.lausuch2-1/+4
JIRA: FUNCTEST-68 Change-Id: I80f8e587e53c7242f8bfa666f2ac450e73c8294f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 76b49b8c1eefcebe69d798157cb7742152a57155)
2016-01-22bug fix: when running manually a test, get stuck in echoMorgan Richomme1-1/+0
Change-Id: I0fd6c514b913a709289cabe44fed01a7ce5e953e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 996177900a5114ac48ce9f149773c0ada1efe8c2)
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)