aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-01-18Don't override env values via testcases.yaml if they existstable/xenaCédric Ollivier1-3/+4
Change-Id: I0d7a52f8bae37ea09f15a5344ee1f7d19d0ecd77 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a337116e0a023c2cfcbe4a4c56da4e8be15afae0)
2024-01-09Fix versions in Ansible playbookCédric Ollivier2-2/+5
Change-Id: I332f71c42a23525296fa0434cd221d3076b6c875 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6e2a719bfb4fc15f9471d717e67195a5816e8ccb)
2024-01-09Remove the use of pip_versionCédric Ollivier1-1/+0
Change-Id: I4888889c030d236a10f125ef69abd2c11477d199 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f22b596de0a8ac7e55b313ed6de7a0db2258332a)
2023-10-23Build Xtesting virtual machinesCédric Ollivier3-1/+13
Change-Id: Ia3d82b3b77b3fab3e88405a07cb7151258538b04 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 62e48435a210489e614602d54c957555a02b7072)
2023-04-17Remove MTS from XtestingCédric Ollivier10-353/+1
The MTS drivers is unmaintained and they are lots of security issues in its dependencies. Change-Id: I397e22c8868204b8d52a8ac35906278b5e530961 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 781fc313c1c59018edb892ff0423963191781592)
2023-04-13Allow setting env vars via testcases.yamlCédric Ollivier1-0/+6
It helps defining env vars per test cases. /home/opnfv/functest/conf/env_file is rather designed for comme env vars ro all test cases (see OpenStack Creds). Change-Id: Ic5d34701475440e1f768bbb22be7a4cfa3e1625b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit fd8498598096cabb991cf3494220a9715d3360f7)
2023-04-13Add missing api docsCédric Ollivier3-0/+16
Change-Id: I29a470f74d2429862d0e26426a375d0a76550082 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8aac8f8eb357c595fc2e8272d6302bfd068cd4ab)
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> (cherry picked from commit 2ee3d64d2d92e6f9a04c8043aa1ac3210941857f)
2022-03-04Search config files in treeCédric Ollivier5-23/+68
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> (cherry picked from commit 318c2e427e2933fdff2213bf807249c66628b56f)
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> (cherry picked from commit 6e7f515947c54d3ed9bb3df9cc2014fc1baaea51)
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> (cherry picked from commit 769898458263b7f138c7ffc9126c376781fa71d4)
2022-01-04Fix incorrect f-stringCédric Ollivier1-1/+1
Change-Id: I463dc155d03b0d5c86b72f4fb7868c1aa7c29a0b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 99e784d223d0e1f11eed647d4805f825e5246696)
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> (cherry picked from commit ee4aeafa6a7073c90e0496fb9efe147375197caf)
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> (cherry picked from commit 17739d718901a10f7ec0aaf9a6d53141294a347d)
2021-11-08Update robotframework to latest releaseCédric Ollivier4-18/+14
Change-Id: I298320f666e048d42047fd00de74df83142a5186 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 208460e0295ca005237c60e3e3a73357ea46fd0d)
2021-11-08Update requirementsCédric Ollivier2-2/+2
Change-Id: I7bb4eb7ea6e88e583d60a8ea6e5483b827b73bc8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-10-08Update Xtesting to stable/xenaCédric Ollivier5-12/+12
Change-Id: Ice25cd175566451faa0dc5f6efc8f2bd27c6a952 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-10-08Update defaultbranch to stable/xenaCédric Ollivier1-1/+1
Change-Id: Id5123056a58e3e18c0eaa7641fd4e611a47a9844 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>