aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-01-04Remove ansiblelint as tox entryCédric Ollivier2-7/+2
It false asks for ansible in any XtestingCI child's test requirements. Change-Id: I6cff0ba900360c97db64f519ef4055e2e18cc28c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-11-09Leverage latest pylint featuresCédric Ollivier20-101/+123
It adds encoding in all open call and leverage f-strings. Change-Id: I70ccd2bfcadae44929d5874f98fa3bf4ff644488 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-11-08Update robotframework to latest releaseCédric Ollivier4-18/+14
Change-Id: I298320f666e048d42047fd00de74df83142a5186 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-11-08Update requirementsCédric Ollivier2-2/+2
Change-Id: Id7f0007a87df545f97d9674a4055b2bb26dff30d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-08-19Correct documented return valuesVincent Danno1-2/+2
In particular, for mts, error cases can yield values other than -1. Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: I50ba896b835075fd3f3dd01f848fcc45076245ac
2021-08-12Fix .circleci/config.yml (py39)Cédric Ollivier1-1/+1
Change-Id: I151092e3e1b7388c24de3a9763fee640bebf899b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-08-12Merge "Update pylint to 2.9.6"Cedric Ollivier7-48/+55
2021-08-12Update pylint to 2.9.6Cédric Ollivier7-48/+55
It stops filtering upper constraints by versions as python 2 (and 3.5) dropped. Change-Id: Ieb96d068ebda813e020a093f3291b4a9526402e4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-08-12Merge "Update container builds due to Alpine 3.14"Cedric Ollivier1-2/+2
2021-08-12Use python 3 super() styleVincent Danno7-8/+8
See https://www.python.org/dev/peps/pep-3135/ Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: I4f74db4a019b70d0289f8969d57fa9ad629c586f
2021-08-12Update container builds due to Alpine 3.14Cédric Ollivier1-2/+2
Change-Id: I2db26b02adb2b9e19a6636f9527765fde3588fdb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-08-11Update to Alpine 3.14Cédric Ollivier8-20/+20
Change-Id: Id0b5ecc341315b0010a4e52dcb54ebe7bb37c5f7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-06-11Fix tag logics in behaveCédric Ollivier2-8/+10
The unit tests will be fully rewritten in a second change (out of this bugfix). Co-Authored-By: Ugur Caglar Kilic <ugur.caglar.kilic@oracle.com> Change-Id: I6413fbcecdf44dbfe9c978045f4b1d43ca0de2ec Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-06-08MTS inherits BashFeatureVincent Danno3-63/+52
Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: Ifa3a5d5946c29863905490de5f875e17026744a5
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>