summaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2017-03-30Upgrade to the latest kingbird versionDimitri Mazmanov1-1/+1
Change-Id: I80015fa05811f11c2c62e4c87f6008bea279fbf7 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> (cherry picked from commit 251b25f7dc3a42d3717e696a164a92510e21cb38)
2017-03-23Enable functest offline by installing tempest system wideLinda Wang1-0/+1
JIRA: FUNCTEST-764 1. When creating verifier via rally in functest env prepare, without the parameter "--system-wide", rally will install tempest and its dependent packages into the virtual env of rally. Thus, it needs to connect internet when installing tempest, which will not enable functest offline. 2. Some packages are needed for multisite testcase, and they are installed in virtual env of rally before. But if "--system-wide" is set, there packages should be installed addtionally. Change-Id: I340701e9ed4a0f8f278ff952f0dd61470c6deed1 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 264896f475e3f0975754c9fa78980051661698c0)
2017-03-16refstack-client: arm dockerfile supportMatthewLi1-0/+5
JIRA: FUNCTEST-758 JIRA: DOVETAIL-366 Change-Id: I02784263bca26a1bfc786949b933d688c35c950f Signed-off-by: MatthewLi <matthew.lijun@huawei.com> (cherry picked from commit 0deaa18a03be4ba14a3d1c7c71ae404e0f6837a8)
2017-03-16refstack client integrationMatthewLi1-0/+5
JIRA: DOVETAIL-366 JIRA: FUNCTEST-758 usage: 1,functest testcase run refstack_defcore, will run the default testcases in defcore_201608.txt 2,cd <path>/functest/functest/opnfv_tests/openstack/refstack_client python refstack_client.py -c <tempest-conf-file-path> --testlist <testlist-path> this has been worked with openstack-refstack experts, etc. tested workedi. result see http://paste.openstack.org/show/602173/ Change-Id: I1aaffea01dec9dc8d1c572885bdf516614a16894 Signed-off-by: MatthewLi <matthew.lijun@huawei.com> (cherry picked from commit 99f308dc9b11e8f99d928840de576af274229331)
2017-03-14bug fix: remove reference to ovnoMorgan Richomme2-2/+0
ovno has no danube branch and is not used clean the ovno from functest to avoid side effect when producing danube functest docker file Change-Id: I5347111fc90a04ca9018679b5578ca30ae33b2f2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 65b26f2e9db7e0cf336c147d46d91cb1c828a67b)
2017-03-09Merge "Update tempest to the latest 15.0.0"Morgan Richomme2-2/+2
2017-03-09Introduce smoke tests for FDSTomas Cechvala1-0/+1
Added: - fds repository to docker file - fds test to smoke tier in testcases - config values for fds tests A new robot var OS_AUTH_URL is defined as expected by FDS robot files. Method args switch from Keystone IP to OS_AUTH_URL which is more precised. The argument parsing is changed too. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ife27ab4a83f0110cbdcf7c9d47d9b3fb4c0ec705 Signed-off-by: Tomas Cechvala <tcechval@cisco.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-03-06Update tempest to the latest 15.0.0Michael Polenchuk2-2/+2
Change-Id: I2bf68a31e581b2a80785f1b13380a28d5bf84d80 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-03-06[cloudify_ims] New requirement for ims testingboucherv1-0/+1
Change-Id: If7b656007ae0c8aa47fb12b10c49517fc0044750 Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-03-03Merge "Use python setup.py develop to install repos"Morgan Richomme2-12/+10
2017-02-28Use python setup.py develop to install reposRomanos Skiadas2-12/+10
This has the benefit that the repos installed in /usr/share are exactly the same ones as in repos/, which makes development easier. Change-Id: Iaba28116b9b291ea8d75c99771f57739e85bc20b Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-02-28Bugfix: fix the cirros path for aarch64Linda Wang1-5/+5
Docker build failed due to the wrong path for downloading cirros images for aarch64. The right path should be: http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-disk.img http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-initramfs http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-kernel Change-Id: I3f1391995c10be54e178943919dabdcf5763edde Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-02-27Add aarch64 custom configCristina Pauna3-3/+20
In order to run functest on an aarch64 POD, some custom configuration is needed. Up until now that custom configuration was put on the arm jenkins slave. With this commit it is integrated in functest project. 1. In order to identify if the POD is aarch64 or x86 function get_arch() from https://gerrit.opnfv.org/gerrit/#/c/29099 is used 2. Changes to config_functest.yaml are made via a new patch file config_aarch64_patch.yaml which is applied for all scenarios. Function patch_config_file() is modified to be more generic. It now receives a file as parameter and merges any type of patch file 3. The aarch64 cirros images are downloaded into the data directory. Functest can be run from both an aarch64 or a x86 jenkins slave in order to test an aarch64 POD. So the images are downloded in both dockerfiles 4. Other custom config needs to be added to /etc/rally/rally.conf in the docker. The custom config is set in rally_aarch64_patch.conf and inserted in the needed file before the rally environment is set up JIRA: ARMBAND-60 Change-Id: I8e460cdf02d297c259cbbd9c05e7983367fd2bb9 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-02-27Merge "Adding vRouter test codes using TestCasesBase"Morgan Richomme1-0/+2
2017-02-24Adding vRouter test codes using TestCasesBaseh-hayashi1-0/+2
JIRA: FUNCTEST-530 1.setting "nosdn-nofeature" scinario in testcase.yaml. 1.adding process of setting result details for push DB 2.Delete of define "vrouter_data" in config_functest.yaml. 3.modify of vrouter git tag's name "stable". 4.modrify of testcase name "vyos_vrouter" In order to more specific. Change-Id: I0602c01dbf9a5e71bf85943c2b5e40ef51269ffd Signed-off-by: Hideyasu Hayashi <hideyasu.hayashi@okinawaopenlabs.org>
2017-02-22Merge "Restore Kingbird functest"Jose Lausuch2-4/+8
2017-02-21Restore Kingbird functestjoehuang2-4/+8
Kingbird functest was excluded from Functest due to python client dependency conflict. But in Functest container, the kingbird was installed only for tempest plugin descovery and execution of tempest test cases. It's safe to restore kingbird installation in the Dockerfile now. The kingbird installation works after the functest container image was built. Change-Id: I44593dcf47dd1deed2f6a94b7e801230bae9b251 Signed-off-by: joehuang <joehuang@huawei.com>
2017-02-22Merge "Integrate BAROMETER feature test case"Jose Lausuch1-0/+4
2017-02-21Integrate BAROMETER feature test casejose.lausuch1-0/+4
Also, add a executor method in VNFBase to allow re-write it for some cases where the feature is another python script instead of shell script. Change-Id: Id734553dffe32fdc9a0befc3f4c0e29e5d56fc61 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-18Swap SNAPS repo from Cablelabs to OPNFVjose.lausuch2-2/+2
Change-Id: Ib92804a8690b131c1d2ad1a6f6efcaf4428a5e6a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-15Integration of NETREADY test casejose.lausuch1-0/+1
Change-Id: I523a05e0f0fbf5971ab7d10a177d793bcff60421 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-07Exclude Moon feature for DanubeMorgan Richomme2-4/+0
Moon will come back mid March with a micro service version Moon testing could be enabled on this new version Change-Id: I160fab5d609bad2b0e8a8c81a4a180498c935b2f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-03Merge "Add dockerfile for aarch64"Morgan Richomme1-0/+164
2017-02-03Add dockerfile for aarch64Cristina Pauna1-0/+164
This commit allows building the functest image on aarch64 jenkins slave The changes from the x86 dockerfile are: - pull the aarch64 ubuntu image for docker - add libjpeg-dev to the dependency list (needed for Pillow package) - add bundler to gem because the version of ruby that is found is 1.9.3p484 instead of 1.9.3-p551 /usr/local/rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/ rubygems/core_ext/kernel_require.rb:55: in `require': cannot load such file -- bundler (LoadError) - configure nokogiri to use system libraries because the packet used an outdated config.guess file - get the npm packet for arm64; since there is no deb for it, I extracted the needed files from the arhives in the repo Ported https://gerrit.opnfv.org/gerrit/#/c/27971/ to this file Change-Id: Icedbc54a685534bde14769182250cd098f24a26a Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-02-03Freeze the rally versionhelenyao1-18/+2
1. Installed latest released version of rally as 0.8.1 2. Removed outdated description Change-Id: Iebc8c65809dc814fe51aab27f0721b01fd6feb4b Signed-off-by: helenyao <yaohelan@huawei.com>
2017-01-31Merge "Make sure we have installed python_novaclient==6.0.0"Morgan Richomme1-3/+3
2017-01-30Make sure we have installed python_novaclient==6.0.0jose.lausuch1-3/+3
Some requirements install novaclient 7.0.0 which belongs to Ocata. It shows some warnings that are not relevant. This will force to install the version for Newton. Change-Id: Ic9c6b3e9558ef59475099fa41316f56a8a3192a0 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-01-30Support newton in tempestMichael Polenchuk1-1/+1
* newton release support is started from 13.0.0 * set swift operator role to existing one * unblacklist server_basic_ops test JIRA: FUNCTEST-712 Change-Id: Ieb3d9477db3dfa98f940c3732b64f6eb7515f6e6 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-01-18Bugfix: fix wrong path to vims-test repohelenyao1-6/+7
JIRA: FUNCTEST-697 Fix the bug of patch: https://gerrit.opnfv.org/gerrit/#/c/26769 Change-Id: Ib5356f1098d292b7a774ff11bbbe6cda8ecf51c3 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-01-18Merge "Add VnfOnBoarding Abstraction"Jose Lausuch1-1/+2
2017-01-18Add VnfOnBoarding AbstractionMorgan Richomme1-1/+2
JIRA: FUNCTEST-535 Change-Id: Idfa3dfd64554472aaac3f26a504e1f74d2f42926 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-01-16Rally keystone test scenarios for v3helenyao1-2/+1
JIRA: FUNCTEST-652 1. Updated the Rally repository to master the keystone test scenarios of TAG= 0.7.0 cannot run on Newton also, 0.7.0 is the last tag that exists 2. Update the Tempest installation with updated rally command Rally team said "there was no possibility to do it in backward compatible way(rally verify re-design)" 3. The `rally show` was deprecated[1] in the master and corresponding logic is updated 4. Update rally commands [1] https://github.com/openstack/rally/commit/f2fc3015beb4cfd8053db728765714500db6eeb2 Change-Id: Ief9e36a16dd92e4449c0f76579e7191a93aa3e21 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-19Merge "Install sdnvpn as a python package"Jose Lausuch1-0/+3
2016-12-15Convert files to Unix format.Cédric Ollivier2-158/+158
Change-Id: I51fabb809e0f446a4dcf2108af10a3f137b177d3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-12-15Fix find in DockerfileCédric Ollivier1-1/+1
Unit tests has been moved to functest/tests/unit Change-Id: I62175f04089eb4d12213e1c48ae1a5abbb540e2e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-12-15Fix file permissionsCédric Ollivier1-0/+0
It has been fixed by calling [1] [1] find ${FUNCTEST_REPO_DIR} -name "*.py" \ -not -path "*tests/unit*" |xargs grep __main__ \ |cut -d\: -f 1 |xargs chmod -c 755 && find ${FUNCTEST_REPO_DIR} -name "*.sh" \ |xargs grep \#\! |cut -d\: -f 1 |xargs chmod -c 755 Change-Id: I654d9221179e60ea45d1db83157c4a9aa9497b69 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-12-15Install sdnvpn as a python packageRomanos Skiadas1-0/+3
Change-Id: Ifc3a2f8184b987e0325fd6ad182b808c0d703542 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-15Fix path for SFC package installationjose.lausuch1-1/+1
Change-Id: I0a0ee6b492946255922f81043f89e11e7c70792e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-15Merge "Install SFC python modules in Functest"Jose Lausuch1-1/+4
2016-12-15Install SFC python modules in Functestjose.lausuch1-1/+4
This will install SFC repository locally so that they can have whatever directory structure without modifying the PYTHONPATH env var. See this for more info: https://gerrit.opnfv.org/gerrit/#/c/25861/ JIRA: SFC-60 Change-Id: If197c250da61d2ae1f4b2f90a52bf007159fd07e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-14Switch to ODL beryllium-sr4Cédric Ollivier1-1/+1
It switches ODL_TAG to beryllium-sr4 which integrates the following patches [1] and [2] which were part of OPNFV functest. [1] https://git.opendaylight.org/gerrit/#/c/46910/ [2] https://git.opendaylight.org/gerrit/#/c/46749/ Change-Id: Ibc7e9eb1dc5dadff024562e6d077242688192ba9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-12-12Install releng as a python moduleGeorge Paraskevopoulos1-0/+4
Modify functest container to install releng modules as a python module. This way we can use the opnfv.utils.* libraries Change-Id: Ib61f1c9dc2564135fe3ef6ead58b69e24c99d2c6 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-12-06Merge "Concatenate the RUN commands"Morgan Richomme1-14/+15
2016-12-05Concatenate the RUN commandshelenyao1-14/+15
JIRA: FUNCTEST-636 Whenever running RUN command, a new image layer is created. It would be recommended to group commands into groups to decrease layers. Change-Id: Iae9287b2a7fd11705b5f25807fab652afa0ccb74 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-05Sort multi-line arguments alphanumericallyhelenyao1-13/+13
JIRA: FUNCTEST-637 Whenever possible, ease later changes by sorting multi-line arguments alphanumerically. This will help you avoid duplication of packages and make the list much easier to update. Change-Id: I85eae3a7019f5f2f30abf7a3f44896017acae9b7 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-11-25Lifted requirements.pip one level up to meet the basic structure of ↵helenyao2-32/+1
OpenStack project. JIRA: FUNCTEST-609 1. Lifted the requirements.pip 2. Renamed it to requirements.txt 3. Updated the areas that are affected Change-Id: If294f07fb5450f3ae6133fd46dc169b9bab451de Signed-off-by: helenyao <yaohelan@huawei.com>
2016-11-24Extracted all global parameters into functest_constants.pyhelenyao2-57/+68
JIRA: FUNCTEST-533 1. Extracted all global variables into functest_constants.py and updated all affected areas accordingly 2. Used os.path.join to replace '/' to come up with the path for better cross-platform support and improve the path accuracy 3. Removed unused variables 4. Updated the hardcoded path in Dockerfile by using variable reference 5. Removed "/" ending from all path variables 6. Updated the unit test Change-Id: Ib30a81d1f0c83fbaef042d63c187c27bd18301bb Signed-off-by: helenyao <yaohelan@huawei.com>
2016-11-22Fix path for Tacker installationjose.lausuch1-1/+1
After the migration of the SFC code into the SFC repo, there is a problem with the path when building the docker image Step 60 : RUN /bin/bash -c ". /home/opnfv/repos/functest/functest/opnfv_tests/features/sfc/tacker_client_install.sh" https://build.opnfv.org/ci/view/functest/job/functest-docker-build-push-master/766/console Change-Id: I4ec53e657f49e63dc477b408b6c47b3be0f9281b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-22Switch SFC call to sfc repositoryjose.lausuch1-0/+1
The SFC testcase code has been moved from Functest to SFC repo. 1) Add SFC repo in the Docker image 2) Change call in exec_tests 3) Remove code from Functest Change-Id: Ie6705d047b04646942d89215e992f46f8c4e58db Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-18Update Promise repositoryjose.lausuch1-2/+2
Promise code and test cases had been maintained in GitHub. Due to the decision to mirror OPNFV Gerrit to GitHub, the Promise GitHub (https://github.com/opnfv/promise) was overwritten by the content in Gerrit (which is outdated). Change-Id: Id03a24d56fb60c144c93ea3e65caf9718d8d4784 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>