aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-09-04Add cnf-conformance in functest-kubernetes-cnfCédric Ollivier6-0/+134
It selects cnf-conformance v0.7.2-beta1 (current latest release) and the default CNF as proposed by [1]. The end user is free to override the default yml files on purpose (e.g. docker volumes). Tag (default: all) could be modified too via testcases.yaml [1] https://hackmd.io/@vulk/SkY54QnsU Change-Id: Iec2a830c441e523e067f6eb114ecb205c49c6b93 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 120daffd8d6d4be727d2ba52a76dbd8eacfe2628)
2020-08-30Increase cassandra timeoutsCédric Ollivier2-2/+2
homestead-prov sometimes fails reaching cassandra 30-08-2020 10:33:44.064 UTC ERROR base.py:327: Translating internal <class 'telephus.cassandra.ttypes.TimedOutException'> error into a 503 status code 30-08-2020 10:34:32.257 UTC ERROR base.py:327: Translating internal <class 'telephus.cassandra.ttypes.TimedOutException'> error into a 503 status code Change-Id: I48566e39dca3dc9644733a76140a76300bbfd84e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e236b0f56f748c888df23eeaf65478967ad852f1)
2020-08-23Stop pushing all details in Test DBCédric Ollivier1-1/+1
It raises 413 Client Error: Request Entity Too Large for url [1] [1] https://build.opnfv.org/ci/job/functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-latest-xrally_kubernetes_full-run/1/console Change-Id: I165f7aec53d8ce1e567491a5b5559f00b1fe4a4c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 1f720b0fabbcf162366160a4fa9a46807e53f8bc)
2020-08-23Set output logs in Rally testcasesCédric Ollivier1-0/+3
https://build.opnfv.org/ci/job/functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-latest-xrally_kubernetes_full-run/1/console Change-Id: I13685d74ce9e286520af6f1e5cd6ce9dafc3d5ea Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 42c2bbed87779218a8fe43c4c5c3012c64bec17b)
2020-08-22Fix last hardcoded concurrenciesCédric Ollivier1-8/+8
Change-Id: Ib2b7bb6de8cd6524fcc52baf48ebf5c4835c396b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8a8f6eafc3c6268a3663852f7de8f0cc4c39b817)
2020-08-22Add xrally_kubernetes_fullCédric Ollivier10-64/+149
It iterates 10 times all operations run by xrally_kubernetes. Now times, concurrenty and count can be set via testcases.yaml. It creates a new containers functest-kubernetes-benchamrking as Functest. Change-Id: Ibfd493b987a359a3f16c2d8db0aef6b8e90b7e92 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a0f76d884c1f13c27e906136d3418f12b5342fc4)
2020-08-17Add tempo waiting for ellis accountCédric Ollivier1-0/+1
Change-Id: I63c6af9d0e20aab426e7f875cdb4f86d206f49aa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 3c7965bb37590eae9e968a530eaaa690ada903f2)
2020-08-17Safely decode e2e.test outputCédric Ollivier1-2/+4
https://build.opnfv.org/ci/job/functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-arm-latest-k8s_smoke-run/2/console Change-Id: I57f3ae0051fb55c8c80de81e79168e61c06d85bb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 64771ca4e6965c81aa2922c7efc44e4f7a38a610)
2020-08-16Leverage alpine rather than golangCédric Ollivier3-8/+8
golang is now useless as we stop compiling kubernetes binaries. Change-Id: I7b9416281de069d1f454b13eff6e9e6107f7471e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 1af6a5dc4ec8e087613275e912c819ea1d0aecbc)
2020-08-16Fix arm -> arm64Cédric Ollivier1-1/+1
Change-Id: I3d7d16ec7d8a7712a279258f817d811f0d59187f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit aa3d694b2c288521b6e3f96ea020a3ac485d4d14)
2020-08-16Stop compiling K8s testing binariesCédric Ollivier2-18/+37
It reaches Travis CI timeouts and is quite useless. PyNaCl is now installed via Alpine packages to save CI. Change-Id: Ifdf3f46f162a811ed95e3ca07ea7c3d89bc77a91 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6801612e85c485e9885cfb41cbc84771475a134f)
2020-08-14Pin latest versions from security toolsCédric Ollivier2-2/+3
It selects kube-bench and kube-hunter 0.3.1. Change-Id: Icb85f3d0d88056370500ec827ef77c215740e5e4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6b8384b57a0bfc200c15ed9ded71544c33a27e81)
2020-08-13Conform with Functest pylint configCédric Ollivier1-1/+3
Change-Id: Ie12d17a32fe8ee7ee212a6a4acf6aec107377390 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9cd357b94e7bdb7b8cce73a2666a7547e2a5d7c8)
2020-08-13Merge "Make K8s_vims namespace aware" into stable/iruyaCedric Ollivier1-6/+21
2020-08-13Merge "Ease modifying the test list in E2E testing" into stable/iruyaCedric Ollivier5-43/+22
2020-08-13Ease modifying the test list in E2E testingCédric Ollivier5-43/+22
It eases creating specific CNTT test cases based on K8s E2E testing. Change-Id: I304960fda760ffc47d763d53511898699f63e356 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a22553a65d6019350c215c9024c9dc54cf77dc7c)
2020-08-13Make K8s security tests namespace awareCédric Ollivier1-15/+28
It now creates a namespace to allow running the test cases twice in parallel. It also overprotects clean operations to force a full delete. Change-Id: Ie0becd8ea9126328e7280591bacc0d88e14dd031 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8e2a7dbee8f134dbe9022683d40e2328e5e50fe6)
2020-08-13Make K8s_vims namespace awareCédric Ollivier1-6/+21
It now creates a namespace to allow running the test case twice in parallel (see DNS requests). Change-Id: Ib47b3fb2d753f8259d9224cb79168cde68d8e854 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 019101492b51aa74412265cd99ba1a9e27a3de8c)
2020-08-11Fix sed if arm in build.shCédric Ollivier1-4/+4
Change-Id: Idc56d20474a97f5d2e48ab9b8f8a8af269852208 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-08-11Remove GOFLAGS in DockerfileCédric Ollivier1-2/+2
Change-Id: Ifc6c63641b9512b4b930c1d7032cae55d2afb811 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit fac999583784f6e3b2c64294f2347fdf8a7a64f0)
2020-08-11Complete the previous git cherry-pickCédric Ollivier1-1/+1
Change-Id: Id899e3a2919bd74a62e471eb2ada9dd81b2492a1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 85f91d654ce17703f6716f2a67fd01f736ba950a)
2020-08-11Remove useless repo in site.yamlCédric Ollivier1-12/+6
Change-Id: Ie5db13dda8dfcaa5bb26e39858448bddee8f6a2c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 07f59c24077e3d7906371eb2f8e2ec6458c2ff85)
2020-08-11Take latest test cases into accountCédric Ollivier1-0/+17
It adds k8s_vims, kube_bench and kube_hunter. Change-Id: I13ead6e23c675a6ed2e70d95914cbf7cf9d54842 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit adaa8ba5907040fdd8198d3fb801256021514dd5)
2020-08-11Stop building smoke if arm and arm64Cédric Ollivier1-13/+1
Change-Id: Ifef3eef410cdca58855bda471ef2be49bf3ba64f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 1cdb84efbb57d3bd45d13cf9941ccd93aeef9d6f)
2020-08-11Don't build arm containers on TravisCICédric Ollivier1-13/+1
From the time being, they are reaching timeouts. Change-Id: I5a2d6060f1f1042f630eeafa1876ed434e681e3a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e4704c75d6beca998c388b60c57580d2918a89d1)
2020-08-11Compile all Functest K8s containers for arm v7 and v8Cédric Ollivier3-19/+105
It removes sudo when useless and turns debug on when compiling K8s binaries. It avoids TravisCI timeouts (No output has been received)[1] [1] https://travis-ci.org/github/collivier/functest-kubernetes/jobs/716819529 Change-Id: I4719257596bf9a6510e2f772271b336847d1ccb5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 3c4543a8ef6f84a5f25483a6dfe50e0075a9cd0e)
2020-07-09Boot Ellis once homestead-depl is readyCédric Ollivier5-10/+22
Change-Id: If61a36020f3dfa5ba0a9858df769138257f9ec94 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5bc18405d75e9d765cd707ff9a98c3553de4b0dd)
2020-07-07Fix phase conditionsCédric Ollivier1-3/+5
Else it waits 20 minutes for nothing [1] [1] https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-cnf-latest-k8s_vims-run/5/console Change-Id: I6427f28975b465ef503f9a3f2868b878fa92b55e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 83d3161c52c8cc8d9e4f52d7a693bbcc32508379)
2020-07-07Override the right log filesCédric Ollivier2-0/+5
Else Xtesting publishes the default xtesting.log [1] [1] https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-security-latest-kube_hunter-run/2/console Change-Id: I0b9b9eda04762771d4e10f0d124b4d5f2975a4da Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 36039d940f473d7385d918375390e804b626bad2)
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)
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-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-05Fix CNF Docker parentCédric Ollivier1-2/+2
Change-Id: I9295f963f2349cfbe06d35f417ce0b8617288ded Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-07-04Fix former pep8 issuesCédric Ollivier1-2/+2
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-03v1.15.11 -> v1.15.12Cédric Ollivier1-1/+1
Change-Id: If7274135a1dd1662a3735f52a75e6d6e663e0bca Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-07-02Fix 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-02Add security docker for functest-kubernetesmrichomme12-6/+241
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)
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>
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>
2020-05-01Disable perm checkCédric Ollivier1-1/+1
.travis-ci applies a false umask Change-Id: I8e93d64019fffe0a88cd49c565a40419a491f5a0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6099914e9832592ac63f0d3505ea3466eb13117d)
2020-04-04Update K8S_TAG to v1.15.11Cédric Ollivier1-1/+1
Change-Id: I5d0f3760fd9911bec51bf0334ca3cc7cf6f61885 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-03-08Update K8S_TAG to v1.15.10Cédric Ollivier1-1/+1
Change-Id: Ie7674e5ce2dc3bcf888ef324ec652904d1e6ce5f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>