aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-11-27Run update package index before installing pkg in Circle CI.Cédric Ollivier1-1/+1
Change-Id: Id160a5bc68c2201db124773bf6eee8b6bb4cb7fc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-18Forbid multipart upload if google storageCédric Ollivier2-2/+12
Google Storage doesn't support S3 multipart uploads https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html https://cloud.google.com/storage/docs/composite-objects 5 * 1024 ** 5 is the multipart upload limit. https://docs.aws.amazon.com/AmazonS3/latest/dev/qfacts.html Change-Id: Iec3a5cd70ea6e912272ea231eecde6ee4f51ce4f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-16Add ContentType when publishing artifactsCédric Ollivier3-8/+55
The default value 'application/octet-stream' is mostly incorrect and forces downloading all links. https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-hunter-connection_check-run/436/console Change-Id: Ia680654f5e9f67154504264bc380f0a8d6a74d85 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-09Improve file scanning when publishing artifactsCédric Ollivier2-5/+25
Else it copies files from other testcases if the full suite is executed sequentially. Change-Id: Ic61472e47b655c34823a6fcb3ed3615e8f84a4c1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-09Add links in testcase detailsCédric Ollivier2-6/+8
It allows finding easily reports thanks to DB. Change-Id: Ib5c4400c186fd320ae87e7fd3d4404b65e996a82 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-09Print Test API links in consoleCédric Ollivier3-2/+10
It adds TEST_DB_EXT_URL to print the right links in case of NAT or SSH port forwardings. Change-Id: If85b00de7325909facc903fba13a3fd59a1e705f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-09Add S3 env vars in env.pyCédric Ollivier1-1/+4
It completes the previous commits adding S3 support: https://gerrit.opnfv.org/gerrit/c/functest-xtesting/+/68760 https://gerrit.opnfv.org/gerrit/c/functest-xtesting/+/68796 Change-Id: Iaaeb02ef2d9c6cdb7ff6c2c52e7086c751119871 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-09Generate Html and Xunit Behave reportsCédric Ollivier4-12/+35
Change-Id: I7d5f31502ba61b61a0b1c885fe8828211bc0bc0a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-07Create Bucket if it doesn't existCédric Ollivier2-5/+52
Xtesting Ansible Role no longer creates bucket after starting Minio [1]. [1] https://github.com/collivier/ansible-role-xtesting/commit/8c62525bb0d0b5f8dcc2c4436711d5d075de8811 Change-Id: I1ad473ce55f9c00df8e558fdc67f571ee0a1875c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-02Publish artifacts to S3 repositoryCédric Ollivier8-5/+128
It simplifies Jenkins or Gitlab jobs by automatically publishing all artifacts via the framework. It leverages on Amazon Web Services (AWS) SDK [1] which supports the current cases (OPNFV, Xtesting Ansible role [2], etc.). [1] https://boto3.amazonaws.com/v1/documentation/api/latest/index.html?id=docs_gateway [2] https://github.com/collivier/ansible-role-xtesting Change-Id: I66e380c4da29fb0f973472a2c59ae0ea3c44fcfd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>