aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-04-13Add missing api docsCédric Ollivier5-5/+20
Change-Id: I29a470f74d2429862d0e26426a375d0a76550082 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-03-20Run pre-commit in the Xtesting gatesCédric Ollivier4-1/+22
Change-Id: I691d0982b8e8f70afce622950c6b27a47e2bb417 Co-authored-by: Guillaume Lambert <guillaume.lambert@orange.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-03-20Remove a useless duplicate when calling pytestCédric Ollivier1-1/+1
Change-Id: Ie11aac5f0d74c897c4c7c973179de401bbb4a0df Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-01-24Update Alpine to 3.17Cédric Ollivier3-4/+4
https://www.alpinelinux.org/posts/Alpine-3.17.0-released.html Change-Id: I660a04c8de1184d83f7e6bfc6777fa571fabc080 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-09-23Make robot driver even more genericCédric Ollivier2-14/+24
It allows setting any option via testcases.yaml Change-Id: I8cb5ead037a65f962c3ba1a14729b52195e95483 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-07-07Add deny_skipping parameterBellengé Maxime2-7/+31
It takes into account or not skip tests in the global result It also adds unit tests to cover it. It should be noted that if follows the deny skipping model proposed by Functest (tempest). Change-Id: I15fa7a3946c6e3b2ae190e4f8abf3b9361a391a4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-07-07Update to Alpine 3.16Cédric Ollivier9-36/+34
It also switches to pytest because nose fails vs py3.10. Change-Id: I920baef12d4934b359873519d5518835007c2f02 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-04-22Update to Alpine 3.15Cédric Ollivier3-4/+4
Change-Id: I283f95fa9c0a51b31c2612f44c1e722a688f6a02 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-04-15Change working dirCédric Ollivier2-0/+2
/ is no longer good as we allow non root user. Change-Id: If2483f7d177db8f2b99e05456d1ea803e3153466 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-04-14Define xtesting user to harden securityCédric Ollivier2-0/+5
It applies security guidelines even if everybody was already free to harden his own containers via the python package. Change-Id: Ia9936d158c02b4e5c86386cb046ff7e35af07f03 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-03-04Protect vs Bucket containing html charsCédric Ollivier1-11/+14
It allows dumping MTS output files. Change-Id: I2b35ee81a764573a9d17cb3a225cb5febed5fa46 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-03-03Complete previous commitCédric Ollivier1-0/+23
It adds xtesting/utils/config.py Change-Id: Iaa36568d7b4e1f6c3cfa1d74cf81d9d73a61f3eb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-03-03Rewrite last direct call to ci/testcases.yamlCédric Ollivier3-23/+24
Change-Id: Ic4a857b6cdee7e3f9e2330414b0e6a6df98eea25 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-03-03Only erase the fallback config files.Cédric Ollivier2-2/+2
It enforces the best backward compatibility. Change-Id: I6516ad15c4ca514dde7ae761c9c00f437646e3b4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-03-03Search config files in treeCédric Ollivier5-13/+34
It allows putting configurations in classical dirs. It fallbacks to the python package for backward compatibility. Change-Id: Ie33b9482fb197926c7d7d66ace815fa4ae01d02d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-03-03Allow overriding project_name via envCédric Ollivier2-1/+20
It now offers a new env var, PROJECT_NAME, to override the default value in testcases.yaml. Change-Id: I911f1af56afe88edb37de40176733b65bc8e490a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-01-27Reset argv to prevent wrong usageCédric Ollivier1-0/+4
It bypasses a clear pyats issue Change-Id: Ib5e8d51b5bea1015c7e1b371b5ba4679c0921555 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-01-21Protect if detail is returned as NoneCédric Ollivier2-1/+3
It occured when running ansible. Change-Id: I908270fdb76fbc3bdf60787b189cdbc29c41b52b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-01-04Fix incorrect f-stringCédric Ollivier1-1/+1
Change-Id: I463dc155d03b0d5c86b72f4fb7868c1aa7c29a0b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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