aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2020-09-05Suppress admin password in default logsajay333-3/+3
Currently, OS_PASSWORD is getting printed in the console of Functest. This password is secret and must not be printed in default log file. This patch suppresses the logging of OS_PASSWORD unless users ask for debug logs. Signed-off-by: mahajanajay33@gmail.com Change-Id: Ib83a12eb09a8551b30b352858649932a5ca842e4
2020-08-06Merge "Stop building xtesting-mts for arm32"Cedric Ollivier1-8/+1
2020-08-06Stop building xtesting-mts for arm32Cédric Ollivier1-8/+1
It raised TravisCI timeouts [1]. [1] https://travis-ci.org/github/collivier/functest-xtesting/jobs/715338705 Change-Id: Ifa4e0957386961a6cde2b2ea7877d808d6e46d70 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-08-06Updated from global requirementsCédric Ollivier3-16/+5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I19049637a64628e266de4e5bdd825435ca0bebe3
2020-08-05Install py3-wheel in xtestingCédric Ollivier1-1/+1
It fixes all deprecated warnings. Change-Id: Ide9b140e56555fba3b5bc94c71df15d4627b72cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-08-05Build arm* xtesting-mts on TravisCICédric Ollivier1-2/+39
Change-Id: I594092992020a3eb228fbf62807a64c94f4a3fdd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-08-05Fix bash mistakesCédric Ollivier1-1/+1
Change-Id: I204d7bb0ee7ce7ad727ae20601f0140670c9f0b9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-08-05Set CFLAGS="-O0" when cross-compiling lxmlCédric Ollivier1-0/+5
Change-Id: I57ae3a76d1838ccde2699a1a206487079c7f2fae Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-08-05Add MTS driverVincent Mahe15-10/+421
It creates a new container xtesting-mts to avoid increase core container size. Signed-off-by: Vincent Mahe <v.mahe@orange.com> Change-Id: I59544023e1235747e140a442815778a133bf6acf
2020-06-07Update to alpine3.12Cédric Ollivier3-5/+5
https://alpinelinux.org/posts/Alpine-3.12.0-released.html Change-Id: Ie7b89399e5e32732d81b3e6293055f1fa8b10012 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-06-07Drop py27Cédric Ollivier3-5/+2
We can no longer support py27 due to rally or bashate here. Change-Id: I716d388df227b9cb54c9c71b072c7aa01577f3fe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-29Updated from global requirementsCédric Ollivier2-6/+8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I56dd1b8370ebe3e8e7f378a1fb3a9966a3c3d806
2020-04-27Fix behave-html-formatter py conditionsCédric Ollivier1-1/+1
https://pypi.org/project/behave-html-formatter/0.9.4/ Change-Id: I3c7d6f043a7e1df1529cf31152ac09e871ccdd3f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-03-17Post-processed data from DBCédric Ollivier1-2/+10
It removes base_url to match the location in archive. It forces a relative path by removing first "/". It makes sense but it may raise side effects in dovetail webportal. Change-Id: Idca69a99fed54ddf69334a865bae15b0a08220fc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-14Publish Xtesting2020Cédric Ollivier2-0/+95
Change-Id: Ife0d97eba3b09b54c0904128896998d8524db905 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-11Publish CNTT Snezka RC CookbookCédric Ollivier2-0/+132
http://testresults.opnfv.org/functest/cntt_rc_cookbook/ Change-Id: Ie100ddcf4a0ad1b8ba01a10ae91d2a6f40587c3c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-04Switch to multiarch binfmtCédric Ollivier1-1/+1
It allows building arm containers as proposed by arm32v6 et arm32v7. Change-Id: Icaca973f70c167ec8eb59df882638683fe35e40e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-04Select arm32v6 et arm64v8 reposCédric Ollivier1-2/+2
They are the official repos [1]. multiarch repo doesn't support Alpine 3.11 and Raspberry PI 1 (arm32v6). [1] https://hub.docker.com/_/alpine/ Change-Id: I2d73ef867c9714ecddba433295f822cf29b27b90 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-04Fix tox env list in travis-ciCédric Ollivier1-1/+1
https://travis-ci.org/collivier/functest-xtesting/jobs/632680250 Change-Id: I49fb0e399b2c0a31af21f5216b0576335773b8ab Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-04Add python3.8-distutils when verifying vs travis-ciCédric Ollivier1-1/+1
https://travis-ci.org/collivier/functest-xtesting/jobs/632675948 Change-Id: I87caca2810c966c6b8219b7dc044f02ac7b8e561 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-04Update Alpine to 3.11Cédric Ollivier8-20/+22
It also updates Python to 3.8 (default version). https://alpinelinux.org/posts/Alpine-3.11.0-released.html Change-Id: I1401c37adb71a6f7d37bd8724b93a058ecb68557 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-04Fix behave driver and its related unit testsCédric Ollivier3-39/+27
Change-Id: I466d655162c1ddd5f4e3ef0e356a27007bfaea0f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-12-22Compress Campaign data (zip)Cédric Ollivier1-1/+2
Change-Id: I7b46a88a181293297cc764026f2804d36a59955a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-12-21Dump DB and artifacts for third-party certificationCédric Ollivier3-2/+218
It conforms with Kubernetes Conformance [1] model and could be reused by OVP or any third-party CNTT-based certification. It publishes the final archive in the S3 repository. XtestingCI will generate the final job calling this feature. [1] https://github.com/cncf/k8s-conformance Change-Id: I7394c9d52d2cc9370eae125ca5398ff734e5b8d6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-12-07Disable false ansible list warningsCédric Ollivier1-1/+1
git commit has to be executed via shell module [1]. [1] https://github.com/ansible/ansible/issues/50334 Change-Id: I0ad8abe12bd592cb2a790ec3373452d46573776a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-30Mock os.path.join in push_to_dbCédric Ollivier2-1/+3
Change-Id: I8d0c8f9ef4688454a6d2992ab1a20d871814e23f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-30Merge "Postprocess the TestAPI href returned"Cedric Ollivier3-7/+10
2019-11-30Postprocess the TestAPI href returnedCédric Ollivier3-7/+10
[1] returned http://localhost:8082 [1] https://build.opnfv.org/ci/job/airship-opnfv-functest-healthcheck-latest-connection_check-run/58/console Change-Id: Ifc0e37a97442193a77762ecc2928b100e27028cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>