aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
AgeCommit message (Collapse)AuthorFilesLines
2020-04-05Update rally (3.0.0) and rally-openstackCédric Ollivier1-1/+1
It removes all warnings currently printed [1]. It also updates kubernetes according to latest changes in rally (chicken and egg). Switching to rally 3.0.0 forces droping py27. [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-jerma-tempest_horizon-run/214/console Change-Id: Ifa21b65c47729a277ccd765e4413477879fa5f21 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-12-07Disable false ansiblelint warningsCédric Ollivier1-1/+1
git commit has to be executed via shell module [1]. It also update ansible to conform with the latest changes in XtestingCI. [1] https://github.com/ansible/ansible/issues/50334 Change-Id: I3cc7a675eddabb0cbd9834a9e64fe7389a11865f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 36acd696022081c06a4d5f25ac13ea50cc5f1d2a)
2019-10-19Remove lfreleng docsCédric Ollivier1-3/+2
Its output may has never been used and it's obsolete: ERROR: lfdocs-conf 0.3.1 has requirement more-itertools~=5.0.0, but you'll have more-itertools 7.2.0 which is incompatible. ERROR: lfdocs-conf 0.3.1 has requirement Sphinx~=1.8.5, but you'll have sphinx 2.2.0 which is incompatible. Change-Id: Id5d24b94f6cdbbb93be8dbb18cde1a7fc9db6a42 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 7ac977b6eaf9e3d3c79b47aa3fc36d291cb423b7)
2019-10-19Check spelling in rst filesCédric Ollivier1-0/+1
It fixes a few typos too and installs enchant in TravisCI and CircleCI jobs. Change-Id: Id5dbf5f926edc8b0b4e4337d11bf63e21ea7e173 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 83aa78773dd0fea7064b8fa9676c44c061dc5e66)
2019-10-08Publish first Functest Jerma containersCédric Ollivier1-1/+1
It leverages on latest OpenStack Train. Change-Id: I7699c7b6cfe052f29ac74aa4dbf0873a0194c26d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-03Run perm when checking all changesCédric Ollivier1-1/+1
It should be forbidden in releng jjbs if still needed. Change-Id: I7622f43603d41bb169d8a1341a38ed2d451459b2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-27Fix remaining py36 testenvCédric Ollivier1-1/+1
Change-Id: Ifd5e65f597e2dcdb280fac6e3bc3ac999550a83f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-27Switch 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: If09d4796d48b7d0591e7926621d3bbf5ca1b6c24 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-06-14Turn all bashate warnings as errorsCédric Ollivier1-1/+1
Change-Id: Ic350ed8269347f5853a6d7b4e75cfccba6d85dcf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-25Run bandit when verifying changesCédric Ollivier1-1/+6
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: I6fc505f684701792d3e03659eb0feea8321452c0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-24Refactor modules to avoid duplicated codeCédric Ollivier1-29/+3
It also increases number of lines to warm about duplicated codes. Change-Id: I3914da8a90cbfe8fd024e9944c3adc8a617330d3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-20Update all OpenStack refs to opendev.orgCédric Ollivier1-1/+1
All gates are failing due wrong to redirections (see os-faults [1][2]). [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-tempest-latest-gate/96/console [2] https://travis-ci.org/collivier/functest/builds/522071220 Change-Id: I5a8ca67f0d95df24daa9bdca2f23eb13d896f9d5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-13Verify py36 via travis-ciCédric Ollivier1-7/+1
Change-Id: I1180478c19d0f1c56e615a2af568cbbf4cc828d3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-12Remove Snaps-based testcasesCédric Ollivier1-6/+0
Snaps hasn't been synchronized for a while regarding requirements. We do remove it due to the inactivity. All test result tabs will be updated in a second change. Change-Id: I834afd902829ed3883b0e88e92aa806ec43d6fcf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-14Remove former ci jobsCédric Ollivier1-1/+0
They can now be generated via the new ansible role. Change-Id: I7746d08b940e8d6906cb023c39bc87d8dee441cc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-27Disable nose html output pluginCédric Ollivier1-1/+0
It doesn't run vs py36. Change-Id: Ief5b6ac58a1c2e8aa840362433d94d403e6b52c5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-18Verify Ansible playbooks via ansible-lintCédric Ollivier1-1/+6
Change-Id: Id8b4553f5d36a52086433f00ce9f846a30212d66 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-17Rename Rally blacklist.txt to blacklist.yamlCédric Ollivier1-0/+1
It eases editing it or verifyfing it via yamllint. Change-Id: I380830eff5f404745e284067b5a10f58dc60b80e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-06Disable agent testing in tempest-based testcasesCédric Ollivier1-0/+1
It blacklists agent testing and two tests asking for VXLAN as overlay if OVN (OVN supports GENEVE) [1] blacklist.txt is renamed blacklist.yaml and is verified by yamllint. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-gambia/33/console Change-Id: I73c1b8cbbd74973a7f15476feea6ee4532786660 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-26Move tempest logics in tempest_conf.yamlCédric Ollivier1-0/+1
It allows removing OPNFV logics out of Functest (releng) and then simplifies conf_utils. tempest.conf is filled by the current default values. functest-alpine.sh will be updated to allow modifying the default values without breaking the OPNFV installers. It deprecates the only tempest-related env var (STORAGE_PROTOCOL) Change-Id: I14bcb715826ef2d85af87e7af600261a3c08e72c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-19Temporarily disable py36Cédric Ollivier1-1/+1
Build servers haven't been updated yet to support py36. Change-Id: I6e396f944e7226d682a58c8e74ed136e0b55d2cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-17Move LF doc files into a new dirCédric Ollivier1-2/+2
rtd forces conf.py to be in the root dir. Then it moves all LF files into a dedicated dir and reverts rtd config.py. Change-Id: I181c76c2b06df630aedf5b9fd96415ab9b23d9e1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-17Fix links to remove references to submodulesAric Gardner1-11/+4
It forces one single documentation. Change-Id: I47edd947885a4c3fb9e6579cf61fa7473b47ba31 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-10-15Update python3 to python3.6Cédric Ollivier1-3/+3
It conforms with Alpine 3.8 (It updates the related tox entry). Change-Id: I7ba8e3cf5bae2f48ff5d802511a288446bca645a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-14Conform with LFN doc rulesAric Gardner1-12/+6
It hugely hacks docs to move away from submodules. https://docs.opnfv.org/en/latest/how-to-use-docs/local-build-transition.html It removes intern reports which can't be integrated in this new model. All wrong links now deteted are updated. Change-Id: I9dbebeed041d2e104e3b8e73483f656ba0ef5bb9 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-09-18Add support for Rally OpenStack CI test casesJuha Kosonen1-0/+1
Include Neutron rally-jobs. Change-Id: Ic1122962bd7d876d179729640a8a321bc36442d8 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2018-09-13Update constraints to OpenStack masterCédric Ollivier1-1/+1
Change-Id: I77765db676e06fef5ccb9ae73a9c995ad4fb76d2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-12Ease adding proxies in vmsCédric Ollivier1-0/+1
It eases running VNFs behind proxies as they download packages. Change-Id: I187078dab744c51188b9835417d1a29fad1b4bd6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-03Refactor RallyBaseJuha Kosonen1-1/+0
This provides a more generic way to integrate test case lists which are not hosted in Functest. Also removes vm scenarios since they have never been a part of actual rally runs. Change-Id: Ib0a020fe72800915bbf2d10ecc690a248d33c246 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2018-09-01Publish unit test reportCédric Ollivier1-0/+1
It leverages on nosehtmloutput [1] [1] https://github.com/openstack-infra/nose-html-output Change-Id: I94e94c2127b4ff8e032e121dd2bd56b3c22809f8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-27Support VIO (VMware in OpenStack)Cédric Ollivier1-0/+1
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>
2018-08-20Publish Functest daily and gate jobsCédric Ollivier1-0/+1
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>
2018-07-30Remove VnfOnBoardingCédric Ollivier1-1/+0
All the vnfs are now inherating from scenarios. Change-Id: I63509102067676ca0676b773db542086caa02d84 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-20Cover cinder testcasesDelia Popescu1-0/+2
JIRA: FUNCTEST-908 Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ie9662877cba89ea96de4403ee2b736c118a044d5 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-07-09Add Vmtp as a new testcaseCédric Ollivier1-1/+3
VMTP is a small python application that will automatically perform ping connectivity, round trip time measurement (latency) and TCP/UDP throughput. JIRA: FUNCTEST-980 Change-Id: I8e94fc52a429f505ac14e14bbb9d0a3b20996ba4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-07Cover vping_sshCédric Ollivier1-0/+2
Change-Id: I37c52057a45d76e081a1a0145baee96041ca25a5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-19Fix pylint errorsCédric Ollivier1-2/+3
They are highlighted by the last pylint version. Change-Id: I473212a413013492716993fb536903b13bff66ed Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-17Run unit tests vs different upper-constraintsCédric Ollivier1-1/+1
It allows setting different upper-constraints (i.e. run unit test vs OpenStack master). Change-Id: Ie4f433a9f6b4c68a43ea259abb0f95270fc908ad Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-15Remove cli and apiCédric Ollivier1-5/+0
cli has been deprecated for a while and restapi is uncovered and unverified. This patch will be partially reverted as soon as next unit tests cover functest/api. It partially updates troubleshooting docs which has to be completed in a second change [1]. [1] https://jira.opnfv.org/browse/FUNCTEST-982 Change-Id: I08e0bd212fcf5f5c5c220eb2500a6b0a6ff46df7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-14Support py3 in uncovered packagesCédric Ollivier1-2/+3
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>
2018-06-14Add py3 support in tempest and rallyCédric Ollivier1-0/+2
Change-Id: I009d38a0db409ab4ec641cba9173ab2386d0ce2a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-05-25Add cinder_test testcaseDelia Popescu1-0/+3
Create 2 instances with Floating IPs Attach data volume to instance 1 Write data on the volume Detach volume from instance 1 Attach volume to instance 2 Read data from volume JIRA: FUNCTEST-908 Change-Id: I10efdfb3b7f9d7e6ab5c6a538052437585d52fb0 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-05-07Simplify vping_sshCédric Ollivier1-1/+0
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>
2018-04-23Check shell scripts via bashateCédric Ollivier1-1/+10
It also removes functest/cli/functest-complete.sh. Change-Id: I5d9313be6a155b4adf1b82ce2b111ec06823cd8f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-12Update to stable/queensCédric Ollivier1-1/+1
It allows getting first results before the blackout between MS0 and MS2.1. Testcases could work thanks to backward compatibility provided by openstack clients. It disables all features which are not synced (patches are under review). It will ease verifying installers which are following master because it reduces the gap between releases. Change-Id: If0893f6dbaed76d4bafbd10a4f0934e6c5057477 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-07Check .travis.yml via yamllintCédric Ollivier1-0/+1
Change-Id: I6f526c4c153ac6769a36c10e6480563c4345cfba 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: I13be1359b36c49e8f199087fe2a23818c6d1b6e0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-04Fix Functest Internship ReportsCédric Ollivier1-0/+8
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>
2018-04-04Fix Functest Developer GuideCédric Ollivier1-0/+2
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>
2018-04-04Fix Functest User GuideCédric Ollivier1-2/+8
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>