aboutsummaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2017-06-26Merge "Stop personalizing the common Dockerfile"Jose Lausuch2-18/+2
2017-06-23Merge "Revert rally version to 0.8.1"Serena Feng2-2/+2
2017-06-22Revert rally version to 0.8.1Linda Wang2-2/+2
1. Now rally version 0.9.1 is installed via "bash install_rally.sh --yes", cause the default RALLY_GIT_BRANCH is master. Then some rally related tests will fail as rally tests have not been updated in functest 2. rally version 0.8.1 can be installed via --branch 0.8.1 Change-Id: I04003134f070a1a35db2c02f2209e77365be592f Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-21Clone tempest repository in the Docker imagejose.lausuch3-1/+3
Rally needs to have a copy of the Tempest repository in order to install the verifier. Otherwise, rally will clone it automatically anyway. This also uplifts the tempest version to 15.0.0 which targets Ocata deployments according to [1] [1]: https://releases.openstack.org/ocata/ Change-Id: I30e922a261a4ab1875d48c4754df09426b5f67e4 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-06-21Stop personalizing the common DockerfileCédric Ollivier2-18/+2
Any personal config can be applied to another Dockerfile which inherits from this one. Change-Id: Ifb77c0d5821c2b40f2f3e1d6adee6f83d0cd0b29 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-20Use directly OpenStack project packagesCédric Ollivier3-42/+22
It stops cloning via git for the next OpenStack projects: - networking-bgpvpn - rally - tempest - kingbird - refstack-client It should be noted that refstack_client's setup_env is not designed to run in Alpine. Change-Id: I00d17912cad39a0c872d317317e98a78ca9ded2c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-20Change barometer module to loadJose Lausuch3-4/+7
As [1] is merged, the way to call the barometer test case is different as it is hosted in Barometer repo instead of Functest. The former files are also simply removed too. baro-tests is no longer a requirement. It is installed as any third party project. [1] https://gerrit.opnfv.org/gerrit/#/c/35927/ Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Iea56b48fa781600eb3a6ac74662ea8a29f556f99 Signed-off-by: Jose Lausuch <jose.lausuch@ericsson.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-07Leverage on pbr (Python Build Reasonableness)Cédric Ollivier2-26/+32
pbr can inject requirements into the install_requires, tests_require and/or dependency_links arguments to setup. They were previously falsy unset. It also supports conditional dependencies which can be added to the requirements (e.g. subprocess32; python_version=='2.7'). Then requirements.py3.txt is removed. It also removes functest/cli/setup.py which seems false and obsolete. Dockerfile is updated as well. One temporarily link is created because of several hardcoded paths in Functest. Change-Id: I14b3b25e07fbac490dd1d5ce943ec02c5b11f242 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-06Update setuptools version to 30.0.0Jose Lausuch2-2/+2
Change-Id: I318446a873a7362a1b7e53b00e9e4daf658c3abb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-06-02Update setuptools version to 35.0.2Linda Wang2-2/+2
Docker build failed in CI due to the low version of setuptools(3.3) Change-Id: I5e9b15f59e2cc5e78f5ab1b30fd1525b667f09fb Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-05-31Added unit tests for the connection_check test case.spisarski2-8/+0
JIRA: FUNCTEST-813 Change-Id: Ib851a3942e181b1a91cad695504613868a340d15 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-05-20Add baro_tests as requirementsCédric Ollivier1-4/+0
It also stops cloning it when building the docker container and updates the related unit tests. It bypasses the bug when importing collectd [1]. [1] https://jira.opnfv.org/browse/BAROMETER-79 Change-Id: Ie9f8ea2b3c95d6b1f5405d76b018cdcb62343a58 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-20Install releng via requirements.txtCédric Ollivier2-10/+0
It should work in all branches if the right requirements.txt is selected. Change-Id: I9c46cd52496528835a92e371320debf92117b4fa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-18Add a new directory to hold pre-downloaded imageshelenyao3-7/+12
Put all images in the new direcotry. If users want to use the local image, map the local directory to the ${HOME}/functest/images Change-Id: I0d309b93f52b3da23d6130056f1a19907313ef68 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-03-30Upgrade to the latest kingbird versionDimitri Mazmanov1-1/+1
Change-Id: I80015fa05811f11c2c62e4c87f6008bea279fbf7 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-03-29Added test case for opera vimshelenyao2-0/+6
1. Created a ImsOnBoardingBase to wrap up all common ims operations 2. Created test case to test opera vims onboarding Change-Id: Idf3a82e10661271ad413f4dd5795c80ca4421d73 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-03-25Fix Dockerfile.aarch64Linda Wang1-4/+4
Bugfix for error: https://build.opnfv.org/ci/view/functest/job/functest-docker-build-arm-push-master/99/console Change-Id: I04b45c05d4bb48c9b5b55050addce707177abcd4 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-03-23Merge "Enable functest offline by installing tempest system wide"Jose Lausuch1-0/+1
2017-03-22Fix Dockerfilejose.lausuch1-4/+4
Bugfix for error: https://build.opnfv.org/ci/job/functest-docker-build-push-master/1001/console Change-Id: I4bc398ecfaa5163e7ee271dd5b67b3d953fb59b1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-03-21Improve unix permissions fixesCédric Ollivier2-4/+28
It now removes exec permissions for files which don't require them. It prevents from modifying files in functest_venv too. Change-Id: I3c88817713711a0009a7392f19fe5ccc63ba98cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-03-20Enable 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>
2017-03-15refstack-client: arm dockerfile supportMatthewLi1-0/+5
JIRA: FUNCTEST-758 JIRA: DOVETAIL-366 Change-Id: I02784263bca26a1bfc786949b933d688c35c950f Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-03-15Merge "refstack client integration"Morgan Richomme1-0/+5
2017-03-15refstack 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>
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>
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