Age | Commit message (Collapse) | Author | Files | Lines |
|
It eases running VNFs behind proxies as they download packages.
Change-Id: I187078dab744c51188b9835417d1a29fad1b4bd6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit d5fce8c12bc73c1b1547df2750563c271a3ab3f6)
|
|
It allows converting all images to vmdk and then patching all
testcases. DEPLOY_SCENARIO should match vio to do so.
convert_images.sh has to be called as prerequisite.
JIRA: FUNCTEST-992
JIRA: FUNCTEST-993
Change-Id: Ie35bf80af1cd9610a8c416ec01b81b61c6148cfe
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit d176e20067368d834e8b77d4f685f48cb54d03f5)
|
|
As opposed to the Releng ones, they are designed to be easily
executed by endusers as well. They can be considered as a first step
towards a full Functest CI/CD toolchain deployed via docker-compose.
All components testcases are enabled here.
They hugely leverage on templates to load the right yamls per branch
and multijobs to run testcases in parallel. Many steps are proposed
allowing running part of the chain.
Executors have to be increased to allow running them (it was tested
vs 10 and more).
At first, all docker images are downloaded to avoid different
versions between testcases.
They will be improved in a second change to ensure that only one node
is selected and to take all Functest env vars into account.
Change-Id: I99c7b8ee5d0ddbb00102b3147739b5e8b5c65c23
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 69f0b2665b397e5128bf7a83541d3567c4834af3)
|
|
All the vnfs are now inherating from scenarios.
Change-Id: I63509102067676ca0676b773db542086caa02d84
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 366adc757e3beaeb1db7811df511a0e38c3eee6d)
|
|
It has to be noted that cloudify_rest_client doesn't support py3 then
next unit tests vs cloudify-based testcases would be excluded.
Change-Id: I0b0e64929d1238665c778ce51fd6abd5ccf06b6c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 7f2d7515e068c2ba072d4f3b4cf0997e06ae8460)
|
|
Change-Id: I009d38a0db409ab4ec641cba9173ab2386d0ce2a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 09d6e6feef33fa47bca440a096894b851b1ebca5)
|
|
Change-Id: I37c52057a45d76e081a1a0145baee96041ca25a5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 98d1a3d8b9beae43f2dacdc79309c39c2435feed)
|
|
It directly calls ping from the ssh socket.
It fixes a possible missing security rule.
It stops blocking if vpings are in failure.
Change-Id: I64092a155bb134fa8b7d31d0d13f695e019540d1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 213ca8e4e4d155ed6d5626020e56c3a241d1dace)
|
|
It also removes functest/cli/functest-complete.sh.
Change-Id: I5d9313be6a155b4adf1b82ce2b111ec06823cd8f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 00b78ca96bef67166e0118a0dbdb5152f401a608)
|
|
It also cleans unseless dirs.
Change-Id: I13be1359b36c49e8f199087fe2a23818c6d1b6e0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 4fdae297551f0d1be07cf2edd39e3428923b52ae)
|
|
Change-Id: I6f526c4c153ac6769a36c10e6480563c4345cfba
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit a835cc31512fdab148552e23e6d68441f0505211)
|
|
It allows building these documentations via tox.
rst files are now checked via doc8.
Change-Id: I06096d466b672e4c171240c918d1c91e1b3dfd13
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 2b63550f650c2ae412b5515cd596f38261619d27)
|
|
It allows building this documentation via tox.
rst files are now checked via doc8.
Change-Id: I4f45dc2b6657466b05e7ceec60a751656552584e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 1f0a0085222337691e8209851cac4ef57333a064)
|
|
It allows building this documentation via tox.
rst files are now checked via doc8.
Intro is moved into a new file.
Change-Id: If1dbe2cbde2f39ca4948ada2b2743594bc387dbc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 3756ff6fbd17269fd9d2a585d3d0ef4bea6f6f9e)
|
|
It allows building this documentation via tox.
rst files are now checked via doc8.
Intro is moved into a new file.
Change-Id: Ic5c0108cf1cbb0fc69f7e2cc73cf2fb69e44baa1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 87a9ed4c08b2c7781f97bf03c08f2d4788f4653d)
|
|
It allows building this documentation via tox.
rst files are now checked via doc8.
Change-Id: I4cfec11b06319b5ccdcff5f7f14475375e778c01
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 319c283565c4d7d38106487a12d3ce6a71cb4ba8)
|
|
It now leverages on rally to factorize code between all tempest-based
testcases.
refstack-client is also added as requirement.
JIRA: FUNCTEST-942
Change-Id: Ieee845327f8736582d77b898edd6c9edd00667e0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Only pylint warnings in vnf modules has to be fixed now.
Change-Id: Ie71230072a51bb72ec0b1d4fef2652494d29948e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It removes all the files which have moved to Xtesting.
Vnf inheritances and env management will be improved in other
changes.
It keeps the same tree thanks to a symlink to allow publishing
artifacts.
Change-Id: I551bbd3f344cdab0158a50b7b09e541576695631
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
JIRA: FUNCTEST-913
Change-Id: I37b25bbcf43fb1d6f7de0c815ad49070d1e1af12
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
JIRA: FUNCTEST-906
Change-Id: I484f9a291d5adbedb855450e4ff067dfa4a3b2ae
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
JIRA: FUNCTEST-907
Change-Id: Ib08a88523c700d35894b9b89b7585425a02065c3
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
It also adds vping/__init__.py to stop skipping vping unit tests.
It removes the useless import os which is not required for mock (here
the mock patch was simply false).
It should be noted that the code is partially duplicated between
snaps_test_runner.py and vping_base_base.py. A small part of code has
been rewritten to fix that without multi inheritance.
Change-Id: I2e3e181ad7dab8aa41afb1e63d0b6795ff0d1610
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
All utils which are moving to xtesting are now fixed.
It remains OpenStack and Functest utils (+ the related unit tests)
which doesn't move to the new package.
Change-Id: If13c627c8444c62d5c6bf9c8057d6413aa0e56c7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It also fixes all pylint warnings in router and the related unit
tests. tox.ini is updated to ensure that no error is introduced.
Change-Id: Iddd74b0dac7b6581d72b04369140006c9e19f998
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
cli_testcase and cli_tier have been refactored to avoid duplicating
code. Then functest/cli and funtest/unit/cli can be added to the list
of modules rated 10/10.
Change-Id: Iec90e806397248a10f39080ec554e3f0a6eda7c1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It mainly fixes pylint issues and leverages on decorators.
It should be noted that run_tests.py is not fully covered (see
xtesting requirements).
Change-Id: I114b67c3c5bfe61d72d004829af513e2014ad8b8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It also fixes check_deployment.py and ci unit tests which were wrong
when testing exceptions.
Now ci modules are rated 10/10 and fully covered.
Change-Id: I30dca491b44cc54aa1abc0d0433c00b4dcabfdc4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
For some SUTs, the password for creating user is not allowed to
be the same as user name, and some even is required to contain
at least 8 characters and three types of characters for security.
It also turns yamllint warnings into errors and fixes the remaining
warnings.
Change-Id: Icf25a7b9ff1c8cee55899198f1e519c9209877ff
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
It also modifies the file list to ensure the rating of ci modules.
Change-Id: Ia1e414be5364cb3da3d54882db428024ed6bd99f
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
JIRA: FUNCTEST-897
Change-Id: I49c7c87dfded000197fe6451fb96dc0749f2ceb0
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
Change-Id: I501a404d1202cc92da5e62dbf9db2aa453ffd324
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I222fde91cf236a272176bc2d9ec6732f98b76141
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It also converts Exception to str when expected.
All energy modules are also listed in files rated 10/10 by pylint.
Change-Id: Id382d60eb35f50c98b15423f9559a920ce5dac62
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It also fixes test_utils RegexMatch and SubstrMatch.
Change-Id: I124aa7d0c4110dcd2f50220aae7ba9b299799e93
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: If13bfaa196b8dfab1e83feb28c5a4719c7acd8c7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
All Rally yaml files are skipped because they leverage on jinja2.
Now last errors are in functest/api directories [1].
[1] https://jira.opnfv.org/browse/FUNCTEST-897
Change-Id: I4d6c9b3b7c1f3602bd51c9cf7e1c5babf581ab82
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
And also, remove the params "tempest_use_custom_images" and
"unique_names" of vping, rally and tempest.
Change-Id: Ic4243ef2f5e965910e5befa87db8d585cad34fa2
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
It also fixes all testcases config files.
Change-Id: I81a6ffb8b7acf4239c79129dc842e283d3d32b35
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: Ida120fe28ea7860758a218189d905bebee2e8ba5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It's now useless as Jenkins jobs call build.sh which modifies all
Dockerfiles for both architectures.
build.sh allows building private images as opposed to this former tox
entry which only take opnfv into account.
Change-Id: I21e2e5303b4310e053cf013cb7f0e0c4532d5db5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
opnfv/functest had been split into multiple containers based on
Alpine (See Docker Slicing [1]) during Euphrates.
As ARM is being switching to them, we can safely remove the related
files.
[1] https://git.opnfv.org/functest/tree/docs/com/pres/dockerslicing/dockerslicing.md?h=stable/euphrates
Change-Id: I30294a94cc742ba80a7bc4f35db9330240385bb0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
A new tox env is defined to ease patching all Dockerfiles for ARM.
This env will only patch the Dockerfile related to functest-core when
the manifests are published.
Jenkins jobs can simply apply the next command:
$ tox -e patcharm64
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Icf69e27c1da95a721ebf67d5ce190c9b8cefce0a
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It updates setup.py, (test-)requirement.txt and upper-constraints.txt
according to OpenStack requirements [1].
It disables all Features testcases as they are not synchronized with
OpenStack stable/pike yet [2].
The docker functest-parser is simplified as it can be based on
functest-core as both Functest and Parser leverage on OpenStack
stable/pike.
ODL_TAG and REFSTACK_TAG variables are set to master again.
[1] http://git.openstack.org/cgit/openstack/requirements/log/?h=stable/pike
[2] https://wiki.opnfv.org/display/functest/Requirements+management
Change-Id: I23fa84f35244c1f4026abd89414b99576f042ee4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It completes "Force requests===2.13.0" [1] which only updated all
Docker files.
[1] https://gerrit.opnfv.org/gerrit/#/c/45077/
Change-Id: I416e01d86e82eb9e267a31463e75b6a4e11485c4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It simply creates a new testenv.
Change-Id: I2675d1b3240a59fa985bd91f979efe1896c3d605
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
1. Propose a basic framework for API
2. And these functions have been realized:
1) Show environment
2) Prepare Environment
3) Show credentials
4) List all testcases
5) Show a testcase
6) List all tiers
7) Show a tier
8) List all testcases within given tier
JIRA: FUNCTEST-843
Change-Id: Ib961446708077b56465eda0052f6d38806b62594
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
It completes OpenStack's upper-constraints.txt by adding Functest's
requirements.
This file is temporarily duplicated to allow building the containers.
It will be removed via a next patch when this patch is merged.
openbaton-cli could be updated (e.g. 3.2.8).
Change-Id: I26de2d22f9e8973c5a58c3cc5129142fa628e57a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.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>
|