aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
AgeCommit message (Collapse)AuthorFilesLines
2019-08-03Run perm when verifying changesCédric Ollivier1-1/+1
umask is now correct in lf-virtual1 (0022). Change-Id: I073a48eddaf1e26bcb3bbeeb232eb69d4a03a124 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-27Fix remaining py36 testenvCédric Ollivier1-1/+1
Change-Id: Ifa6bfc7beb992cc9094435b734bbca68fcc5a931 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-26Switch to Python 3.7 and Alpine 3.10Cédric Ollivier1-10/+10
It also allows building docs as doc8 is broken due to latest OpenStack's upper-constraints. pylint is updated to 2.3.1 (lastest py3.7 version) It disables perm as umask is currently false on lf-virtual1. Change-Id: I8568eeafa44c5dba72e206c532c1f50e3ad547f2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-11Adding first patch for behave featureDeepak Chandella1-1/+2
Change-Id: Ic975c301103b49cdec2bd26746b708388f21e892 Signed-off-by: Deepak Chandella <deepak.chandella@orange.com>
2019-06-14Remove energy modulesCédric Ollivier1-2/+0
The public recorder api has been down for a while. Change-Id: Ib879ef3b9ef56338c10cfcdeb733451c6f7573a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-25Run bandit when verifying changesCédric Ollivier1-0/+4
It reports only MEDIUM issues or higher like nova [1]. It selects bandit 1.1.0 as defined in nova and neutron lower constraints [2]. [1] https://github.com/openstack/nova/blob/master/tox.ini#L221 [2] https://github.com/openstack/nova/blob/master/lower-constraints.txt#L8 Change-Id: I52524df867d99fae75798475c762a5f8253dacfa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-21Update to opendev.org in tox.iniCédric Ollivier1-1/+1
It completes the previous commit [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/67651/ Change-Id: I5298e406d7973572034242224b867ba8fd79e60f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-26Fix OpenStack version (master) in tox.iniCédric Ollivier1-1/+1
Change-Id: I4a5c3a85870ce515d64be5efb25b016908b56164 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-15Verify the Ansible playbook via ansible-lintCédric Ollivier1-1/+6
Change-Id: I9e6778b935a0a8d6e76cb4f1f16ef08c811eee73 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-15Verify missing yaml files via yamllintCédric Ollivier1-0/+2
Change-Id: I0cd412cd49cac62b393658bf55e0e32def908c85 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-19Temporarily disable py36Cédric Ollivier1-1/+1
Verify servers haven't been updated yet to support py36. Change-Id: Id2999a94f9c2c03432412a4b40a4b3c593aaffb5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-17Update python3 to python3.6Cédric Ollivier1-2/+2
Change-Id: I845f8eb0544dc32febec7a17ac7c05412eb31198 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-12Leverage on abc and stevedoreCédric Ollivier1-0/+1
Change-Id: I7b3c4c0c5dd0c9e6fb3e52c3fff5221d4b831b02 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-12Skip the selected testcase too0.56Cédric Ollivier1-1/+0
It completes "Allow calling a skip test" [1] [1] https://gerrit.opnfv.org/gerrit/60655 Change-Id: I02499aed56e6b23563165ea1f17b476e12408823 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-12Skip testcases by any env var0.51Cédric Ollivier1-1/+0
It also removes CI_LOOP which is releng centric. It can be passed as dependency if required. Change-Id: I146bb97950cb88062451158b7cc6a16c7f9d47a2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-24Check shell scripts via bashateCédric Ollivier1-1/+7
Change-Id: I33df0017945a32946c46bff0768624901e13f6f1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-12Update to stable/queens0.40Cédric Ollivier1-1/+1
Change-Id: I2a8d624df52c0c705d5fbc662f11948bdc51d765 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-11Exclude doc/reveal.js from permCédric Ollivier1-1/+1
Change-Id: I6c81163d55217a374269ee7d2aae63a854c9fdeb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-07Check README.rst by doc8Cédric Ollivier1-1/+1
Change-Id: I9ac9fa26d49fd9cd01844e5579255cfadbd8b276 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-04Check API doc via doc8Cédric Ollivier1-1/+3
It also cleans unseless dirs. Change-Id: I52ddc9e2adcd13c95e4a8939397686f50b9e6c4c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-28Ensure py27 and py35 supportsCédric Ollivier1-6/+1
Change-Id: Ia1cd423be2e55ab7539bcd2551c53792c08b976a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-28Rename all Functest refs to XtestingCédric Ollivier1-18/+18
It mainly renames python modules and then the related documentation config files. Change-Id: I186010bb88d3d39afe7b8fd1ebcef9c690cc1282 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-27Clean all OpenStack related modulesCédric Ollivier1-43/+1
Xtesting is only focused on the framework and entry points. Change-Id: I1a4146ed8519438b13810a20ddf1140c35bb6ecd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-09Fix pylint errors/warnings in tempest modulesJuha Kosonen1-0/+2
JIRA: FUNCTEST-913 Change-Id: I37b25bbcf43fb1d6f7de0c815ad49070d1e1af12 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2018-01-30Fix pylint errors/warnings in rallyJuha Kosonen1-1/+3
JIRA: FUNCTEST-906 Change-Id: I484f9a291d5adbedb855450e4ff067dfa4a3b2ae Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2018-01-29Fix pylint errors about refstackLinda Wang1-0/+2
JIRA: FUNCTEST-907 Change-Id: Ib08a88523c700d35894b9b89b7585425a02065c3 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-01-28Fix warnings in all snaps-related modulesCédric Ollivier1-0/+4
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>
2018-01-26Fix pylint errors in several utils modulesCédric Ollivier1-1/+5
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>
2018-01-26Fix last Pylint error in FunctestCédric Ollivier1-0/+3
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>
2018-01-24Fix pylint warnings/errors in cliCédric Ollivier1-0/+2
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>
2018-01-21Partially rewrite test_run_tests.pyCédric Ollivier1-3/+1
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>
2018-01-21Fully test and cover functest/ci/tier_*Cédric Ollivier1-1/+6
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>
2018-01-20Configure password for the user in vnfLinda Wang1-1/+1
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>
2017-12-14Improve the pylint score of functest-coreLinda Wang1-0/+3
It also modifies the file list to ensure the rating of ci modules. Change-Id: Ia1e414be5364cb3da3d54882db428024ed6bd99f Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-12-13Fix yamllint errors in functest/apiLinda Wang1-1/+1
JIRA: FUNCTEST-897 Change-Id: I49c7c87dfded000197fe6451fb96dc0749f2ceb0 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-12-12Ensure that all energy modules are fully coveredCédric Ollivier1-0/+2
Change-Id: I501a404d1202cc92da5e62dbf9db2aa453ffd324 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-12Add python3 support in cliCédric Ollivier1-0/+1
Change-Id: I222fde91cf236a272176bc2d9ec6732f98b76141 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-12Add python3 support in energyCédric Ollivier1-0/+3
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>
2017-12-12Add python3 for Functest utilsCédric Ollivier1-1/+1
It also fixes test_utils RegexMatch and SubstrMatch. Change-Id: I124aa7d0c4110dcd2f50220aae7ba9b299799e93 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-11Add Python3 support in functest/ciCédric Ollivier1-0/+1
Change-Id: If13bfaa196b8dfab1e83feb28c5a4719c7acd8c7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-11Fix yaml format errors in vnfCédric Ollivier1-12/+5
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>
2017-12-06Fix the yamllint errors in functest/ciLinda Wang1-0/+3
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>
2017-12-04Create a tox env to check yaml filesCédric Ollivier1-0/+14
It also fixes all testcases config files. Change-Id: I81a6ffb8b7acf4239c79129dc842e283d3d32b35 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-29Force Framework to be fully coveredCédric Ollivier1-1/+14
Change-Id: Ida120fe28ea7860758a218189d905bebee2e8ba5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-15Remove the tox venv patcharm64Cédric Ollivier1-8/+0
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>
2017-11-09Remove the former DockerfileCédric Ollivier1-10/+1
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>
2017-11-09Patch Functest docker images for ARMDelia Popescu1-0/+8
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>
2017-11-05Update Functest to OpenStack stable/pikeCédric Ollivier1-2/+2
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>
2017-10-16Update requests to 2.13.0 in virtualenvsCédric Ollivier1-4/+3
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>
2017-08-23Ensure that aarch64 patch can be appliedCédric Ollivier1-1/+10
It simply creates a new testenv. Change-Id: I2675d1b3240a59fa985bd91f979efe1896c3d605 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>