Age | Commit message (Collapse) | Author | Files | Lines |
|
It also calls pip install via the right src value to prevent from
changing the working dir when building Ubuntu or Alpine containers.
Change-Id: I236524ca270f4173e0636bee60a0f136d77ac07a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
|
|
Rally and refstack require a tempest working dir.
It now clones the offical repository before running setup.py develop.
14.0 is selected to conform with OpenStack upper-constraints.txt.
Dockerfile downloads the official OpenStack upper-constraints.txt to
remove the condition about tempest which forbids cloning it.
Change-Id: I8410570d660b07a1ecfc48fab93022f72acdaac7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
After merging [1], there were some hardcoded values
pointint to ~/repos/functest.
[1] https://gerrit.opnfv.org/gerrit/#/c/36827/
Change-Id: Icd912ca8ab6226cbdb0cc4f8b6f77572ea43ae06
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Change-Id: I44f7b476d56bcd7cdac4ba0e5c85717bd41f7e45
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It conforms with [1] by creating a new venv which checks the unix
permissions. As jjobs call Functest console scripts [2], all perms
can be 644.
Dockerfiles are updated as well.
[1] https://security.openstack.org/guidelines/dg_apply-restrictive-file-permissions.html
[2] https://gerrit.opnfv.org/gerrit/#/c/36805/
Depends-On: I9209e6efa1b493e24135402a46df72aaa14115d1
Change-Id: I31bc7f12b775928845e23b6b40288b0a50b87219
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
|
|
Change-Id: I99a87e2399c1be79dabc9109e10665fc9ef8bee2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It also stops calling parser_install.sh.
This file is replaced by the 2 new requirements in
docker/thirdparty-requirements.txt:
- tosca-parser
- heat-translator
Change-Id: Ic9dcdd81df9800fc8e559a07f9c100a20bea2290
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
As refstack-client is reinstalled only by the shell setup_env, the path of
.venv and .tempest have been changed.
Change-Id: Id50d0c6384295c2448705961942104abbd799b9b
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
|
|
|
|
Now it can be installed via python package [1] and then be listed in
thirdparty-requirements.txt.
[1] https://gerrit.opnfv.org/gerrit/#/c/36445/
Change-Id: Iae7482865917e51a96a180b0a987ab0ff26a0190
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Refstack clones the repo in /home/opnfv/.tempest. Rally can use
that repo which is checked out to the REFSTACK_TAG=15.0.0
This way, we avoid having twice the same files.
Change-Id: I9b05d29b1c9bdf3d10539b771d0d20abb2b7cc37
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Now it can be installed via python package [1] and then be listed in
thirdparty-requirements.txt.
[1] https://gerrit.opnfv.org/gerrit/#/c/36437/
Change-Id: Ib9489de1f46993fa9fe35485fa95baf003d44974
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
|
|
|
|
|
|
|
|
upper-constraints.txt contains a pinned list of the entire set of
transitive requirements for OpenStack [1].
We will add OPNFV's constraints as well for OPNFV projects and
their requirements when they are ready.
[1] https://specs.openstack.org/openstack/openstack-specs/specs/requirements-management.html
Change-Id: I2e23584f957e4de191341800d24c8b2776ef9143
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
|
|
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>
|
|
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>
|
|
It should be noted that the other OPNFV projects cannot currently be
installed via python packages for many reasons (e.g. binaries not
included, no setup.py...).
Change-Id: Iaf1c960471b2dd8916eb1a49cb46f50b7dfb9b88
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: Ibcaef4eb8658bfe7d1900a8cd6a7b48740524526
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I318446a873a7362a1b7e53b00e9e4daf658c3abb
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
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>
|
|
JIRA: FUNCTEST-813
Change-Id: Ib851a3942e181b1a91cad695504613868a340d15
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
JIRA: FUNCTEST-758
JIRA: DOVETAIL-366
Change-Id: I02784263bca26a1bfc786949b933d688c35c950f
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
|
|
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>
|
|
Change-Id: I2bf68a31e581b2a80785f1b13380a28d5bf84d80
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
Change-Id: Ib92804a8690b131c1d2ad1a6f6efcaf4428a5e6a
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
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>
|
|
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>
|