aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
AgeCommit message (Collapse)AuthorFilesLines
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-11-03Update xtesting to 0.80.0Cédric Ollivier1-1/+1
It allows publishing the artifacts via Xtesting. It's required by the new Xtesting Ansible role [1]. It disables the pylint warning super-on-old-class which is falsy here (xtesting 0.80 conforms with py3 rules). [1] https://github.com/collivier/ansible-role-xtesting/commit/8c62525bb0d0b5f8dcc2c4436711d5d075de8811 Change-Id: I832e5e19467c7fd86a46574448faad4d6f2d4c0d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d0ee068c6e1c4a6e0a52156143a04feb6f9a78cb)
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-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> (cherry picked from commit 7c88b0f951fc7b7818594f563112a379704e0879)
2019-07-27Enable py36 unit testsCédric Ollivier1-1/+1
It benefits from the swith to lf-virtual1. Change-Id: Ib38bf0adb09df62173894d048fb06c48b3a4b462 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4138ba00dd8db7fcf043a071f4c44b52e33265bc)
2019-06-15Turn all bashate warnings as errorsCédric Ollivier1-1/+1
Change-Id: Ic350ed8269347f5853a6d7b4e75cfccba6d85dcf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 12b1a3258219cd301866ea79924e08cfb2a7420e)
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> (cherry picked from commit 0440ffcac18991395799e5aafc9243e028917ab6)
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> (cherry picked from commit 9dcc30874194382a25c66baf359b863c6e013caf)
2019-04-21Update 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> (cherry picked from commit 2ceebaa032f07c4162ed3701c6814dfe5cb683d4)
2019-04-14Verify py36 via travis-ciCédric Ollivier1-7/+1
Change-Id: I1180478c19d0f1c56e615a2af568cbbf4cc828d3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8f1248484478813b7881e4642cf5ca6dbcf86f74)
2019-03-13Remove 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> (cherry picked from commit e44841210c53290207db9b958c66cb8019910cb7)
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> (cherry picked from commit 12023f6a1a040c07f805553a1f5c65ab3940d638)
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> (cherry picked from commit f89763ed82a429e83a903895eea037bd1c8bd064)
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> (cherry picked from commit 471d030673b2008502c3f5d83d1a16743695bcf4)
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> (cherry picked from commit f600874cef933a2077a51bb334365a861e6fbb48)
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> (cherry picked from commit 3b07c3e741e0e64603d01afc651176aa2fc52391)
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> (cherry picked from commit 3872290bb673513459588bbe83e65efc631615f7)
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> (cherry picked from commit 6c65f82b3571550229566be3c6b9490741018502)
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> (cherry picked from commit 0d0f0d5e5f18cbb91c0119b16e737815a7756277)
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> (cherry picked from commit a4990a60c9b8e499e698fab28f9368816e50c6f7)
2018-10-15Conform 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> (cherry picked from commit 1a22e73c850c450305764c784c86dbc067e65dae)
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> (cherry picked from commit b51417c9d2e7d34fec7d4bfa4fd723746e6b28e3)
2018-09-20Add 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> (cherry picked from commit 5d54a533d25a989dc64a2789788ff2f2fd6ad5c6)
2018-09-13Prepare hunter Docker tagsCédric Ollivier1-1/+1
Change-Id: I409975acd1493e2f5a6bdcb3a4bd6ff6e383e02e 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>
2018-04-04Fix Functest Config GuideCédric Ollivier1-0/+2
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>
2018-04-04Fix Functest Release NotesCédric Ollivier1-1/+4
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>
2018-03-12Rewrite refstack testcaseCédric Ollivier1-3/+4
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>