aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-02-17Add the missing actionstable/hunterCédric Ollivier1-0/+6
Change-Id: I8c88da0ec7924cc517e453d4a8de52bb5bb0275f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 49504223bc2ca476e63484e98d8b4cdbe299a09d)
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> (cherry picked from commit 3ec66533ae228d8f1ca6555f58d6cf77f186699b)
2021-02-13Upgrade libcurl from 3.11Cédric Ollivier1-1/+1
It fixes CVE-2020-8231 Change-Id: I90ad55ca8babfa2f178af4d1d601c064d95ed112 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit cdf3b341bec2d2f2e0fd502974ef819d5410fa8d)
2021-02-13Upgrade libcurl (CVE-2020-8231)Cédric Ollivier1-0/+1
https://build.opnfv.org/ci/view/xtesting-trivy/job/xtesting-opnfv-xtesting-iruya-trivy/7/console Change-Id: I9de801f32e7dd1b4cfe3a56ab69b54b7d69b4fe2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit b2ecf5d4b087b43b57c54663e7f5cedae728cef0)
2021-02-12aarch64 mts builds mostly failCédric Ollivier1-1/+1
Change-Id: I87d9e4f33824c7a486d92f4e151b0b40bf10e675 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5887ce960a69f793a28e54aa3b1662b134aad6af)
2021-02-12Update site.gate.yml accordint to latest XtestingCI changesCédric Ollivier1-5/+8
Change-Id: Iaaad4fff95b3df7564c5277eed80db182f8e3e19 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6e2fa509cb5d9f4929b91b443fb354d0092bce82)
2021-02-12Split Gates in a dedicated site.ymlCédric Ollivier2-18/+10
Change-Id: Ib9fb9968071543c1a881fd862f15076488845ecb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit da3d1068889529241bd017f46b454bec4bce5382)
2021-02-12Compile lxm vs -O0 if arm*Cédric Ollivier1-0/+4
https://travis-ci.com/github/collivier/functest-xtesting/jobs/482530072 Change-Id: I70004fbd6b695a5e50e330f9d0bfacc755610a65 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-12Fix .travis.ymlCédric Ollivier1-1/+28
Change-Id: I0cdf80003a0d77824da843876814744acd62c277 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-12Create dummy xtesting-mts:armCédric Ollivier3-15/+34
Change-Id: Ib6cc1236aa46b7fb1fd9dfa96750894d87c3563e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 239dc4006e01b78b5a3bda9faec604f19bcf87e7)
2021-02-10Upgrade system firstCédric Ollivier1-1/+2
Change-Id: I9ee2ac74785212f8fa6f4ca84dabfcf0ebd3ed18 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 416589195799adc49c5163522313f9e9321c4449)
2021-02-10Fix coveragercCédric Ollivier1-0/+1
Change-Id: I700f202fb03c55ba767f8bfdffa516d20d0595dc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-09Fix pylint issuesCédric Ollivier1-0/+2
Change-Id: Id6f0ce4c594d1f377fd2added3010de681855561 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-09Fix docker and py versionsCédric Ollivier3-3/+3
Change-Id: I349b7d9c4ef35e62bf57fa0f70cc860b0d4cb223 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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)