aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-06-03Merge "Drop six"Cedric Ollivier18-101/+75
2021-06-02Delete wrong docstringVincent Danno1-5/+1
This seems an unfortunate copy-paste from the file feature.py Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: If4c8eec10616f0dce3f1ac90abb0c2e78aeae11d
2021-06-01Drop sixVincent Danno18-101/+75
python 2 was dropped [1] so we don't need six anymore [1]: https://gerrit.opnfv.org/gerrit/c/functest-xtesting/+/68262 Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: I840211990b76f77a46e9e737fc4a4c857b57c0b2
2021-06-01Merge "Add proper references to xml schemas"Cedric Ollivier2-9/+5
2021-05-25Switch to focal in travis-ci gatesCédric Ollivier1-8/+1
Change-Id: I8386e274813a4d41bf259145147f52d7bfee711d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-05-25Merge "Use constants instead of hard-coding paths"Cedric Ollivier2-5/+6
2021-05-25Merge "dash-separated keys will be deprecated in future"Cedric Ollivier1-3/+3
2021-05-25Merge "Fix remaining py37 testenv"Cedric Ollivier1-1/+1
2021-05-25Merge "Remove six from Openstack requirements"Cedric Ollivier1-0/+1
2021-05-25Fix remaining py37 testenvVincent Danno1-1/+1
Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: I7847ac6f9f642fb64097a172bd4e8396040f8aa7
2021-05-25Remove six from Openstack requirementsCédric Ollivier1-0/+1
Attempting uninstall: six Found existing installation: six 1.15.0 [91mERROR: Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. https://github.com/openstack/requirements/blob/master/upper-constraints.txt#L445 Change-Id: Iad64341d8014621bc999bade94676d4059e71353 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-05-20Delete dead codeVincent Danno2-23/+0
The piece of code became unused following change https://gerrit.opnfv.org/gerrit/c/functest/+/39443 Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: I0bf80790c05cef217be574ad196d8c4e8dfb4c2d
2021-05-19Add proper references to xml schemasVincent Danno2-9/+5
Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: I1f837fede6b62260cc49a590b065de259df0d444
2021-05-18Use constants instead of hard-coding pathsVincent Danno2-5/+6
This complements https://gerrit.opnfv.org/gerrit/c/functest-xtesting/+/72495 which missed one occurence due to trailing slash difference. Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: Iabfa89161cc099c924a7609aeb4ef6ed1b027cd3
2021-05-17dash-separated keys will be deprecated in futureVincent Danno1-3/+3
See https://setuptools.readthedocs.io/en/latest/history.html#v54-1-0 Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: I123266e2ebe0e18ceea3568000e13da12b39ca83
2021-05-16Merge "Correct version to actuals in PyPI classifiers"Cedric Ollivier1-4/+2
2021-05-12Remove superfluous property declarationVincent Danno2-2/+0
It is inherited. Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: Ic68172dfb93f03cc62cf4944b82de8bc1e37b097
2021-05-11Correct version to actuals in PyPI classifiersVincent Danno1-4/+2
Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: I040bf8d139d0ce159de4999cd14db48fb12f5b25
2021-05-11Merge "Remove unnecessary condition in statement flow"Cedric Ollivier1-3/+2
2021-05-10Merge "Fix Flake8 abstact and concrete deps"Cedric Ollivier2-2/+2
2021-05-10Fix Flake8 abstact and concrete depsCédric Ollivier2-2/+2
It's no longer managed by OpenStack requirements. Co-Authored-By: Vincent Danno <vincent.danno@orange.com> Change-Id: I7c509d483b4daf9c8b47390426d9f60f8a6a7482 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-05-10Updated from global requirementsCédric Ollivier2-2/+2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I234f0a861709b4199aba2306ea9f858866009917
2021-05-10Use constants instead of hard-coding pathsVincent Danno5-17/+35
Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: I9bef7db7584d6b615ef102d13797914095512733
2021-05-10Remove unnecessary condition in statement flowVincent Danno1-3/+2
First, the condition should be limited to only defining the default value, rather than applying to the statement flow. This not only avoids unnecessary repetition of statements, but is more logical. Second, it is not even necessary to explicitly code a condition here, because the language itself defaults to our desired default value. Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: I119567f5b31444a0e864ba41dee8a5f640ff0c22
2021-05-01Add eighth in ansible/site.gate.ymlCédric Ollivier1-0/+1
Change-Id: I11f0aa1562dfa25c596e851d475f74778914ad0e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-04-29Merge "Allow printing playbook output to console"Cedric Ollivier2-18/+69
2021-04-29Allow printing playbook output to consoleAjay Kumar2-18/+69
User can specify quiet: False in "testcases.yaml" if he wants to print the output on console. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Signed-off-by: Ajay kumar <ajay4.kumar@orange.com> Change-Id: I30fa21bdcc2ed97757cd3c0b4720f9413466833f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-04-28Add console parameter to behaveframeworkFrancois Regis Menguy2-4/+11
Change-Id: I289de43bdea8c52181ec0622c83c5c56dd6890e3 Signed-off-by: Francois Regis Menguy <francoisregis.menguy@orange.com>
2021-04-27Add an Ansible driverAjay Kumar12-186/+418
It calls ansible_runner.interface.run() by converting the testcase description data to kwargs. It only overrides quiet and artifact_dir to implement the Xtesting behavior. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ifd09810400babc0f2b81f2c33edf55a3ed88807b Signed-off-by: Ajay kumar <ajay4.kumar@orange.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-17Add the missing actionCédric Ollivier1-0/+6
Change-Id: I8c88da0ec7924cc517e453d4a8de52bb5bb0275f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-17Pulish former wiki page as README.mdCédric Ollivier1-0/+198
https://wiki.opnfv.org/display/functest/Write+your+own+Xtesting+driver Change-Id: If135bf9d84e1c357911eb0b2331539844288969a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-12aarch64 mts builds mostly failCédric Ollivier1-1/+1
Change-Id: I87d9e4f33824c7a486d92f4e151b0b40bf10e675 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-12Update site.gate.yml accordint to latest XtestingCI changesCédric Ollivier1-5/+11
Change-Id: Iaaad4fff95b3df7564c5277eed80db182f8e3e19 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-12Fix arch in .travis-ci.ymlCédric Ollivier1-1/+1
Change-Id: I0b56d7d2e9714034e54f42426ada1806036ec47f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-11Create dummy xtesting-mts:armCédric Ollivier3-14/+30
Change-Id: Ib6cc1236aa46b7fb1fd9dfa96750894d87c3563e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-11Fix tag substitutesCédric Ollivier1-1/+1
Change-Id: I72e82055d32a87d81877152fa4bce4885bddc4cb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-10Upgrade system firstCédric Ollivier1-1/+2
Change-Id: I9ee2ac74785212f8fa6f4ca84dabfcf0ebd3ed18 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-09Update ansible-lint verificationCédric Ollivier2-1/+2
Change-Id: I1f0e2a4dc3d2410a409c990605a9086a5776ca34 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-09Take pylint's len-as-condition into accountCédric Ollivier1-2/+2
Change-Id: Ib19de453857a2732d9c70a24539a96cd7129613d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-01-21Update to alpine:3.13Cédric Ollivier3-3/+3
Change-Id: I84459504fa374effb3c0355cf37a09c32b4e61a4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-12-10Use pip==20.2.4 in tox venvCédric Ollivier3-2/+3
pip 20.3 is disruptive and would lead to big changes in stable branches. Change-Id: Ifc4abd2d1f28bfb63ba66796e1690b398c1e4760 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-11-16Cleanup previous run output filesVincent Mahe1-4/+13
Signed-off-by: Vincent Mahe <v.mahe@orange.com> Change-Id: I9ec39012457ae1a5f7017d41d79237d7a1e300d4
2020-11-09Split Gates in a dedicated site.ymlCédric Ollivier2-17/+33
Change-Id: Ib9fb9968071543c1a881fd862f15076488845ecb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-10-06Change version of MTS software to 6.6.21Vincent Mahe1-3/+3
Signed-off-by: Vincent Mahe <v.mahe@orange.com> Change-Id: I846d5adf55d1f20e3adf50fccbbb431dda7f55d6
2020-09-05Protect mts vs py2Cédric Ollivier1-8/+12
Change-Id: I7a9aa9267a81161b10b1d625efbaa924187f8690 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-09-05Remove all order in testcases.yamlCédric Ollivier2-2/+0
Change-Id: I7ff541ebe5b99f2bc66cbf725530fdff55504435 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-09-05Wrap long env valuesCédric Ollivier1-1/+3
https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-healthcheck-kali-k8s_smoke-run/162/console Change-Id: If6837a85f54309ad7c221144570c10eb1615993d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-09-05Fix duration calculationCédric Ollivier1-2/+3
It falsy printed 00:60 Change-Id: Ib2852268a6833b353232c80e9013b6926058479c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-09-05Remove order in testcases.yamlCédric Ollivier6-24/+8
It's not used and asked for useless configuration data. Change-Id: Ie1713873aa880bed74bc3c9c4c08da5b30ea3bbb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-09-05Make testcases descriptions optionalCédric Ollivier1-4/+4
Change-Id: If0e45f10816edd2199c589bb5fbfc03fbc0a4b77 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>