aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-07-07Improve vIMS service orderCédric Ollivier4-12/+6
It seems fixing the last side effects. Change-Id: Iee8506c2f0048f7c2619b772aea815288a40145e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f7b45c10ef78a96f33568d2480ca79efbbd72505)
2020-07-07Remove energy from logging configsCédric Ollivier2-12/+2
Change-Id: I35c15aa68fe1afadcdbf3d391febb166358c90be Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 62b861884f55815e00b24f3aca6acb95e0f804b9) (cherry picked from commit 7af22940370f94002cbdd0aa6393bb8f3de2a8b2)
2020-07-07Publish debug logging configCédric Ollivier2-0/+71
Change-Id: I6a42fdeb20e0d549819c327e92e138c28dc927e1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 7168abb7509750ece58fa501a56a8b1ebad2dbf8)
2020-07-06Manage Ims service dependenciesCédric Ollivier11-0/+48
Change-Id: I6647d9acfabd2ce2d12ff2f30393c2de8f6165ff Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 68b2a9ac43003840ae0b88bf3b2cd6c1fc10db21)
2020-07-06Update Rally patch (py27)Cédric Ollivier1-4/+5
Change-Id: I4e50ca32869280843e8b6a1146dd5fdb3ccad22e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-07-06Apply Rally patch (switch to threading for tasks)Cédric Ollivier2-1/+52
Change-Id: I8f4df2d4c220edc538c743cccce8050efe4a1140 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit bfd0063c81f5d5d4fad2389832c8f1479a28f73d) (cherry picked from commit fbac166c0010ac15835ba37260b94e3c705e339d)
2020-07-06Try a quick fix vs the race conditions in xrallyCédric Ollivier2-0/+35
Change-Id: I57a4c317ba365586c10b13d425aac021dd030949 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 81139b1576981990f32df76719f179441e4d12ee) (cherry picked from commit 2a2744f1e612a1ed0a38cadd2b49100613da70d6)
2020-07-06Remove Kubernetes.create_check_and_delete_daemonsetCédric Ollivier1-13/+0
It seems incorrect as Rally tired waiting to become 3 pods [1] Here are the nodes: - control-plane - worker - worker [1] http://artifacts.opnfv.org/functest-kubernetes/0LMEWUMSA2U6/functest-kubernetes-opnfv-functest-kubernetes-smoke-latest-xrally_kubernetes-run-157/xrally_kubernetes/xrally_kubernetes.html Change-Id: I19bb19eb1e0f2ae66a64532d99d4a59f82651a8f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit efee842caa2585c2174c9b780ea1d33f69c69f2e) (cherry picked from commit 90d2fe1fb88bbe963e7c242f2b6b74fb68ab0c67)
2020-07-06Correctly override dir_results and res_dir in rally_kubernetesCédric Ollivier1-2/+2
Both have to be modified else publishing artifacts fails [1]. https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-smoke-jerma-xrally_kubernetes-run/47/console Change-Id: If21334d7d1342737575f9a260a0ad647c4f382e2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 004d28383111d344aeb82ba9080c7c015970c9bb) (cherry picked from commit cad10e2f00034a283a318e4e0fdf271d0ff2e32a)
2020-07-06Add a new testcase leveraging on xrally/kubernetesCédric Ollivier9-0/+491
It partially runs the all-in-one task for checking basic functionality of Kubernetes cluster. Change-Id: Iaf7a29d2c1a364073e4caaeef69d68ee79ea56bc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 413b52a98a359094dbc251749c04d2789e0ab24c)
2020-07-05Use shallow copy - copy() is py3 onlyCédric Ollivier1-1/+1
Change-Id: Ib470c4ddd36f4b522915e6e131f1b16aee268d15 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-07-05Fix CNF Docker parentCédric Ollivier1-2/+2
Change-Id: Ieecc4298bc1861d123163d1ca48ef4a6ba045d0c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-07-04Fix former pep8 issuesCédric Ollivier2-2/+6
It's allowed by the newer version Change-Id: Ief4cb2f0cce8da8af6e0bee275772f0940f56d5a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6493a5acf8a3724f7c00fc971542d25b42a36e4c)
2020-07-04Improve Ims codingCédric Ollivier1-1/+1
Change-Id: Id8b042fd38399f0cf1868f67b5a3f4f1b4f2ef0d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit dbe25c73b976a8a3d9b5c10dc92b8c9a17c68baa) (cherry picked from commit b1acb9c247f09b6c6e29442c4d8e067d6e4a3c10)
2020-07-04Deploy Clearwater IMS using KubernetesCédric Ollivier30-2/+932
The new testcase "k8s_vims" deploys and tests Clearwater IMS using Kubernetes. It follows the procedures proposed by clearwater-docker [1]. [1] https://github.com/Metaswitch/clearwater-docker Change-Id: I2fe3cd03a5dedfc61fbab294c53b4bc0b0fa70be Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 080d2414682d5fecea8c01640e2e5971278fe19d) (cherry picked from commit d56ecab65904d9a190f378262ad9bff48358a40e)
2020-07-01Fix project name in security's testcases.yamlCédric Ollivier1-2/+2
Change-Id: I7770873b2f7d61db05a9546631fdc2d4ddf3d20c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 2649efe3166ec1525f825bf21b63e6eb53aaaac6)
2020-07-01Add security docker for functest-kubernetesmrichomme12-8/+231
run kube-hunter and kube-bench cases dealing with security in kubernetes (check vulnerabilities) [1][2] It's the first step only printing the output. [1]: https://github.com/aquasecurity/kube-bench [2]: https://github.com/aquasecurity/kube-hunter Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I3bd9bda80046ef7a0c494d51dfb0b8cbfea02bb0 Signed-off-by: mrichomme <morgan.richomme@orange.com> (cherry picked from commit 98d9f93337ab514fa9aafc1cd1e87473de68b364) (cherry picked from commit 0626f54b8686134515eab3b9014c5b538405d84f) (cherry picked from commit a7191389900b58f50e428af47e6819f30ba07d8f)
2020-07-01Remove OPNFV Features from Functest site.ymlCédric Ollivier1-8/+0
They are neither maintained nor developped by Functest. Change-Id: Ib32a36bef9ade051d49edc0868ea88c83cc38f1b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-06-08Remove cache dir and force /src as src dst dirCédric Ollivier1-1/+1
Change-Id: I43846aa04e9e9951fc55543b8d2d2fda7c39bb64 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5169cd72511838af0cedd9ce6b5c3baba45d8f6c)
2020-05-02Switch to deadsnakes/ppaCédric Ollivier1-1/+1
https://travis-ci.org/github/collivier/functest-kubernetes/jobs/682053007 Change-Id: Iedac5d4c47bec7cdd00c65e9d7f8d0cd3488ef9a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 777cff28daff5514f21ad04198afbfbc5b5ba7cb)
2020-05-01Disable perm checkCédric Ollivier2-2/+2
.travis-ci applies a false umask Change-Id: I8e93d64019fffe0a88cd49c565a40419a491f5a0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6099914e9832592ac63f0d3505ea3466eb13117d)
2019-12-14Update to K8S_TAG v1.13.12Cédric Ollivier1-1/+1
It updates to the latest K8s v1.13 version. Change-Id: I02966fe1f4eeeccdb1e1d71045596096a22f2c4a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-12-07Disable false ansiblelint warningsCédric Ollivier1-2/+2
git commit has to be executed via shell module [1]. it also fixes Functest branch [1] https://github.com/ansible/ansible/issues/50334 Change-Id: Ie4595f7bc2b54545b2f824f5ac3fb1d20340f13c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit abe7e05d27f7801b902821a85186dca0c9e563ae)
2019-11-27Update package index before install packaging in CircleCICédric Ollivier1-1/+1
Change-Id: I5f61bfdcfa7efa7dfe0a3cf379770e79334de90e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6119abf09d3d5a98509619b650b054aca2edbceb)
2019-11-16Add mailcap in dependenciesCédric Ollivier1-1/+1
It allows detecting mimetypes. Change-Id: Ieeae5e92142daab2ea724f1c332a71a8b0c63102 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit bee77a2c2c6571c622a8e533ed0b80cdb49302ea)
2019-11-16Correctly override dir_results and res_dirCédric Ollivier1-2/+2
Both have to be modified else publishing artifacts fails [1]. [1] https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-smoke-latest-xrally_kubernetes-run/139/console Change-Id: Ieefee6a9a61452bb4f23d40f75b60280803cd215 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 63ef7413921dcd06d4bd15ae59a20da811cfe7d3)
2019-11-10Update to Xtesting 0.82Cédric Ollivier2-1/+4
It overrides the default log files. Change-Id: I6a1f9951b47b761e4e1832140181a57dd886117c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 63b56cf0740fd5e2e0b7b022e287b27ddb898dee)
2019-09-20Update K8s to 1.13.11Cédric Ollivier1-1/+1
Change-Id: If97c5f21b0115803b75ee10ab5c85fc421d0faf2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-11Fix basepython (2.7) in permCédric Ollivier1-1/+1
It was falsy copied/pasted from master. Change-Id: I80d0ad0b8ff641c820b20f3cc0cb1eaa6d2b4615 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c01c2773e79cc8f483b28f64750226f90cbaf2d2)
2019-08-10Run Functest K8s unit tests via CircleCICédric Ollivier1-0/+20
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-kubernetes Change-Id: I668481c123adfbfddb4f41feec1ebcec7c75f85d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 46a867f6d7aa73af6728fcf459ec76150103f5cb)
2019-08-04Update Kubernetes to v1.13.8Cédric Ollivier1-1/+1
Change-Id: Ib9693c99b2ebefd2dd8e6f30f5bcf4504e236edd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-03Run perm in functest-kubernetesCédric Ollivier1-1/+12
Change-Id: If2d786c50addbd17948afdcd3c803293d03318f8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 7092ae97a37936ff0584e0845d9a87f4e5f86696)
2019-07-27Enable py36 in gatesCédric Ollivier3-6/+6
It also updates pylint. Change-Id: Ifcc597bc4a6aabdb56588949af3b7cf4d52221af Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4f7536dfb0f4d639d76de54e360e6ba47f51888a)
2019-07-10Turn bashate warnings into errorsCédric Ollivier2-2/+3
It also fixes the warning. Change-Id: Ia24208590994418dc8a200e7336cf8a62f0976d3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 424717dfd95388ff2ddc9fe929ac170689a78eca)
2019-06-28Rewrite kubernetes parsingCédric Ollivier2-69/+24
It now sets details and result thanks to 1 regex. It also prints the failure summary if needed. Change-Id: Ia89d6825134161cf6513924dac93281d677eada6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d22f950cae95350ae0b0518ceefb3bcfc4f17009)
2019-06-27Disable log dumpCédric Ollivier3-4/+9
It avoids dumping logs at the end which requires gcloud configured (CI). Then it partially reverts "Keep kubernetes sources" [1]. It now dumps e2e.test output in e2e.log as sonobuoy [2]. [1] https://gerrit.opnfv.org/gerrit/68106 [2] https://raw.githubusercontent.com/cncf/k8s-conformance/master/v1.15/kubeadm/e2e.log Change-Id: I400e1cf92a8540eba3d40db1ed4237628921efe6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d1d3feacdbf061cf4115ceeadcb71d2142971757)
2019-06-27Remove useless ci_loop in testcase descriptionsCédric Ollivier3-4/+0
Change-Id: I89f5a9172bed9d6861543250a971e09466d1307b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5f2e455ae47f4fa3c5d6a441b052be1220fbfd9b)
2019-06-25Keep kubernetes sourcesCédric Ollivier1-1/+1
It now only removes .git and _output Else they are missing files when dumping the logs in case of failures [1]. [1] https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-smoke-iruya-k8s_conformance-run/107/console Change-Id: Ia8b45b8af48bc0005e75a174258e27f1f3edcaac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8af877189e0c276a15717cf7dd9a0fe873214521)
2019-06-09Update K8s to v1.13.7Cédric Ollivier1-1/+1
Change-Id: I2c62077284d5d250c236eb7a0d03725332fbbba4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-25Run bandit when verifying changesCédric Ollivier2-5/+8
It reports only MEDIUM issues or higher like nova [1] [1] https://github.com/openstack/nova/blob/master/tox.ini#L221 Change-Id: I1302b28ed1dcc4e074c6c6f2aa5e915c88eb03f4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 11669ed5216c94f3420969aa5b31e0687af33f18)
2019-05-24Update to Python3Cédric Ollivier1-1/+1
Functest containers leverage on Python3 instead of python2. https://mail.python.org/pipermail/python-dev/2018-March/152348.html Change-Id: I4f148e91259377b4e3b9076621f192a6e00f6009 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e38bb1ee4c2a5c2e03ad7af46631da37c5f189ba)
2019-04-24Slightly improve tox.iniCédric Ollivier1-4/+1
Change-Id: I92802637ad2177044f6f8c6f628ede80887583c3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 54b194184e8bc36acf7399a1b460b0b7fa3db893)
2019-04-21Update all OpenStack refs to opendev.orgCédric Ollivier3-3/+3
Change-Id: I829c7798d21abb013db09d80cc509862fa5b9e2d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit cfcf5d41cbf26a7fc5d0b07d9ca45d73538036d8)
2019-04-13Run tox in .travis-ciopnfv-8.1.0Cédric Ollivier1-0/+11
It installs python3 via ppa to run unit tests vs py36. It completes the OPNFV gates which can't verify them. Change-Id: I58e74e0272eb501ff5ffdb1eca1459a6c549fc17 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ea76aa99439bf2152b8cadd41e88594bf3b1314e)
2019-03-29Only set go major version in parent containerCédric Ollivier3-5/+5
It allows updating automatically the minor versions. Change-Id: I25d3d315e533c1ba40f9eec36dc2eb9b81715eb2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-28Update K8s to v1.13.5Cédric Ollivier1-1/+1
Change-Id: I85cbad22b9ed931aa8b536a101594b504eece2d4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-28Fix OPNFV_TAG in docker/core/DockerfileCédric Ollivier1-1/+1
Change-Id: I51afc1b892220d66c696981cd6684944b95838c1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-24Fix manifest-tool buildsCédric Ollivier1-0/+1
It now selects the last release to allow compiling it [1] [1] https://travis-ci.org/collivier/functest-xtesting/jobs/510384544 Change-Id: Ia7d83c88c262102b26b7aa725bcf9577e13e54a7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6e32d47d1d3a9880c987dab50852c64ef763a364)
2019-03-24Set db_project in ansible/site.ymlCédric Ollivier1-0/+1
functest-kubernetes is defined as part of functest in OPNFV DB (see testcases.yaml). Change-Id: I09eadefd1f6b7bc9b58309fdbe92f8c23e7a5815 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 49cd5462ca60c03276546810d4fed3f0a0a93d3c)
2019-03-23Update Alpine tag in build.sh and ansible/site.ymlCédric Ollivier2-4/+4
It completes the previous commit updating Alpine. Change-Id: I5f29bbe9d8c79f50d3270ad76eec687073351e43 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit de031c014b89df8dad204a28f956fcace8e1091d)