aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-02-09Install libxml2-dev and libxslt-devCédric Ollivier1-1/+1
Change-Id: I77b9d921cda948cb82d7bf3b535e881113f6b9d8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d99abd65053a72c73b89579cdbd6ac4844abe54b)
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> (cherry picked from commit 8fc7c92cd3a8704aff806c2b9c500369b7360759) (cherry picked from commit 5029cf1adddb5b3f25754bcc8c6b265e29678948)
2021-02-09py2.7 forces ansible-lint 4.2.0Cédric Ollivier1-0/+1
Change-Id: I8c80f3704fa69b61ce03772cba0986bb5ba8669e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 502ce864de43da6e9534d28a333a31c207435490)
2021-02-09Cleanup previous run output filesVincent Mahe3-6/+15
Signed-off-by: Vincent Mahe <v.mahe@orange.com> Change-Id: I9ec39012457ae1a5f7017d41d79237d7a1e300d4 (cherry picked from commit 43d5772accb16742f09ddbc3d89ff5c315a2c0a4)
2021-02-09Protect mts vs py2Cédric Ollivier1-8/+12
Change-Id: I7a9aa9267a81161b10b1d625efbaa924187f8690 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit cd0f0900cb9290f2e84ad184842d8d8ce543a2e7)
2021-02-09Change version of MTS software to 6.6.21Vincent Mahe1-3/+3
Signed-off-by: Vincent Mahe <v.mahe@orange.com> Change-Id: I846d5adf55d1f20e3adf50fccbbb431dda7f55d6 (cherry picked from commit 16ae15d57395430b0113f44d850c9eb06fe1cb3b) (cherry picked from commit 3116e9fd45e788d48e7eb04e96d7b3a6d94012f3)
2021-02-09Add MTS driverVincent Mahe15-7/+428
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 (cherry picked from commit 32eb7687bf7b8440aa87805480789ef61ae65ec9)
2021-02-09Generate Html and Xunit Behave reportsCédric Ollivier4-55/+64
Change-Id: I7d5f31502ba61b61a0b1c885fe8828211bc0bc0a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 728f5c95df4d3edbe6b3f814a270cdf3b532aef9)
2021-02-09Adding first patch for behave featureDeepak Chandella14-15/+359
Change-Id: Ic975c301103b49cdec2bd26746b708388f21e892 Signed-off-by: Deepak Chandella <deepak.chandella@orange.com> (cherry picked from commit 5dd0d0ffd46e7665fddde8fd2f4da1a9b58506bb) (cherry picked from commit b7d72be6458dbe73e3893ba242fb2dd7a6c745fc)
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> (cherry picked from commit 9c9f1888d682cf1b794c956d7f6ab448cb42c6d7)
2020-11-09Split Gates in a dedicated site.ymlCédric Ollivier2-12/+27
Change-Id: I37bd9d003ee3e9e92a742f8593b2b9f5d6156c07 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-09-05Remove all order in testcases.yamlCédric Ollivier1-1/+0
Change-Id: I7ff541ebe5b99f2bc66cbf725530fdff55504435 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c7da909eb32f7203ffa2b1c3e71107e1ca4cc4c3)
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> (cherry picked from commit 16742834bbca1a7074f19a57d004a1b41068744d)
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> (cherry picked from commit 242696fe51c7dc3530587350550ab07164706e56)
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> (cherry picked from commit 2480a8ed48d232b6395f992fc46d388ba2820872)
2020-09-05Make testcases descriptions optionalCédric Ollivier1-4/+4
Change-Id: If0e45f10816edd2199c589bb5fbfc03fbc0a4b77 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 150405525d6e9924858cd40c872600ddb2bfb57c)
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 (cherry picked from commit bbdc01c30dcf5a1365ad5a61ec0f7fee49b7fb59)
2020-05-01Merge "Switch to arm32v6 and arm64v8 repos" into stable/hunterCedric Ollivier2-3/+3
2020-05-01Switch to arm32v6 and arm64v8 reposCédric Ollivier2-3/+3
Change-Id: I82ee83912b70d3d1d626038471f00f4332cf76aa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 02d0e5086d7f78d4bbac284a41d3be6f2cfba9ee)
2020-04-29Updated from global requirementsCédric Ollivier2-3/+4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I793d192717f288184f22ffe4af049316aa4bffa6
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> (cherry picked from commit 0ef9c196b42b8c9182710b0f937f775199b0feea)
2020-01-04Add a missing blank lineCédric Ollivier1-0/+1
Change-Id: I466d655162c1ddd5f4e3ef0e356a27007bfaea0f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 1578582efb2dd748fce2e44174c54fd2613bf492)
2019-12-22Compress Campaign data (zip)Cédric Ollivier1-1/+2
Change-Id: I7b46a88a181293297cc764026f2804d36a59955a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f187187c3afa730e94ffcdffd84e54494def306a)
2019-12-22Enable debug messages via env varCédric Ollivier4-10/+75
It stops printing in xtesting.debug.log by default. It decreases testing duration via Raspberry PI without additional tasks [1]. [1] https://wiki.opnfv.org/display/functest/Run+Functest+containers+on+Raspberry+PI Change-Id: I2eded47a7a150a45330a69f3262fc7ca6fdb7463 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-12-22Dump DB and artifacts for third-party certificationCédric Ollivier4-3/+220
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> (cherry picked from commit 65b489bbc42c7b24c7f9a435de6e5094d5208cf3)
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> (cherry picked from commit 4ac26ff408f928518c7a35f1178fcb590b32cd7f)
2019-11-30Merge "Postprocess the TestAPI href returned" into stable/hunterCedric Ollivier3-7/+12
2019-11-30Postprocess the TestAPI href returnedCédric Ollivier3-7/+12
[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> (cherry picked from commit 740afc884b2af2f068945e7a9963d5e4b66a1a0e)
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> (cherry picked from commit b209efd0fa4233ba58e5d21175c567c8b0946dde)
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> (cherry picked from commit f5aceb5447deed25234c5354b9dd9601115d9378)
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> (cherry picked from commit e2e7dbe185a552b21315063dbbed8ac4f40f309d)
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> (cherry picked from commit a48c62165923be6a37aaff5d54918dbe9cb6ff58)
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> (cherry picked from commit 256e6b0a10d43e930ecd81078d9cbcd89ebb5a06)
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> (cherry picked from commit 384308c4a5af0a66ff9e78de17ace94ab7d1d51f)
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> (cherry picked from commit 66809ebba91d1f068c0a930dba695c3b02fc85bd)
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> (cherry picked from commit 7ddcfae7ff8a20fac21f5ba2b923e8e5cbce19e5)
2019-11-02Fix OpenStack branch in tox.iniCédric Ollivier2-2/+2
It also fixes boto3 upper-constraints which helps detecting the issue. Change-Id: Ib714245cce2492d6102edc31c3772054c0a68188 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-02Publish artifacts to S3 repositoryCédric Ollivier8-4/+129
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> (cherry picked from commit d012f3ac3ec4aa2730532be095956867d797aefb)
2019-08-22Override default Xtesting Ansible role valuesCédric Ollivier1-0/+20
It ease maintaining the Xtesting branches. Change-Id: Iaaeed0eb4331908266163746350e4163c102238a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4bef764e2b3976f73e91fed7bca97b40d4123522)
2019-08-21Add **kwargs in Energy wrapper()Cédric Ollivier1-1/+1
It's asked by few Functest testcases (rally_full). Change-Id: Ia1c91c9284f703d239542a1ed929f67eae15ca6c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6bacb465e3075a3288db140abeab8daca4d256d0)
2019-08-10Run Xtesting unit tests via CircleCICédric Ollivier1-0/+23
It runs tox and published the artifacts. It's worth mentioning that all docker images are already built via Travis CI (amd64, arm and arm64) [1]. https://travis-ci.org/collivier/functest-xtesting Change-Id: Icc57b6c45062425181230f3ebbdc5d3f7a925f99 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4be2e13c066fe5952b3a6339d27cd603e0fbaa18)
2019-08-03Run perm when verifying changesCédric Ollivier1-1/+1
umask is now correct in lf-virtual1 (0022). Change-Id: I073a48eddaf1e26bcb3bbeeb232eb69d4a03a124 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6fcd58709c2aeb123dad6f86a103ae5f3af282e1)
2019-07-27Fix ssl issues in travis-ciCédric Ollivier1-0/+5
https://travis-ci.org/collivier/functest-xtesting/builds/564133127 Change-Id: Ic0b8f20edfcccceda3d7226789f16e875af0bdb9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9c9be693530188872b9b945a4666e6bd98e94af2)
2019-07-27Enable py36 unit testsCédric Ollivier7-10/+14
It benefits from the swith to lf-virtual1. Change-Id: I9f99f24a5e3c8ef6374e049d7117aa7d5aa4d442 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a8287fbdee4a75f1a8bd54f0c9072bc637242e03)
2019-07-24Updated from global requirementsCédric Ollivier2-3/+2
Change-Id: I2ce5bcf72fb95114b21a80cf51c5e848ac3c0b35 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-06-04Updated from global requirementsCédric Ollivier1-1/+2
Change-Id: I0f6fc79125ff275a3df5b3d289cd7b2e501006f2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-25Run bandit when verifying changesCédric Ollivier3-0/+6
It reports only MEDIUM issues or higher like nova [1]. It selects bandit 1.1.0 as defined in nova and neutron lower constraints [2]. [1] https://github.com/openstack/nova/blob/master/tox.ini#L221 [2] https://github.com/openstack/nova/blob/master/lower-constraints.txt#L8 Change-Id: I52524df867d99fae75798475c762a5f8253dacfa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c659caccbf1f55db4e6e3cb31bf088ac57751e86)
2019-05-25Set utf-8 in decode and encode callsCédric Ollivier2-4/+4
It eases backporting in iruya and hunter as a few logs can't be decoded as ascii [1]. [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-iruya-juju_epc-run/56/console Change-Id: I09c793469bdf4a679e6ed5a268e705efa5f2a20f Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com> (cherry picked from commit 12aa6e34ec1f388a40cb5a00826729f7c0d6f201)
2019-05-23Fix unit tests (py36)Cédric Ollivier2-12/+12
It completes the patch "Update to Python3" [1] which was not fully verified in Functest Gates [2]. [1] https://gerrit.opnfv.org/gerrit/#/c/67782/ [2] https://travis-ci.org/collivier/functest-xtesting/jobs/531380395 Change-Id: Icd0d743e14ca1430828907cefba10b50489020a5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 934e90a269ea6b65e38578ac3f9a8bf7fc5212b1)
2019-05-23Stop setting utf-8 in decode/encode callsCédric Ollivier2-4/+4
It's the default value. Change-Id: I301f750cabc41a1564a700ae8d7328f195a4ae9b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0d308f4db3434ae6f8147f0f452e5c542429e636)