Age | Commit message (Collapse) | Author | Files | Lines |
|
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)
|
|
Change-Id: Idc56d20474a97f5d2e48ab9b8f8a8af269852208
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: Ifc6c63641b9512b4b930c1d7032cae55d2afb811
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit fac999583784f6e3b2c64294f2347fdf8a7a64f0)
|
|
Change-Id: Id899e3a2919bd74a62e471eb2ada9dd81b2492a1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 85f91d654ce17703f6716f2a67fd01f736ba950a)
|
|
Change-Id: Ie5db13dda8dfcaa5bb26e39858448bddee8f6a2c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 07f59c24077e3d7906371eb2f8e2ec6458c2ff85)
|
|
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)
|
|
Change-Id: Ifef3eef410cdca58855bda471ef2be49bf3ba64f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 1cdb84efbb57d3bd45d13cf9941ccd93aeef9d6f)
|
|
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)
|
|
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)
|
|
Change-Id: If61a36020f3dfa5ba0a9858df769138257f9ec94
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 5bc18405d75e9d765cd707ff9a98c3553de4b0dd)
|
|
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)
|
|
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)
|
|
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)
|
|
Change-Id: I35c15aa68fe1afadcdbf3d391febb166358c90be
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 62b861884f55815e00b24f3aca6acb95e0f804b9)
|
|
Change-Id: I6a42fdeb20e0d549819c327e92e138c28dc927e1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 7168abb7509750ece58fa501a56a8b1ebad2dbf8)
|
|
Change-Id: I6647d9acfabd2ce2d12ff2f30393c2de8f6165ff
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 68b2a9ac43003840ae0b88bf3b2cd6c1fc10db21)
|
|
Change-Id: I8f4df2d4c220edc538c743cccce8050efe4a1140
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit bfd0063c81f5d5d4fad2389832c8f1479a28f73d)
(cherry picked from commit fbac166c0010ac15835ba37260b94e3c705e339d)
|
|
Change-Id: I57a4c317ba365586c10b13d425aac021dd030949
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 81139b1576981990f32df76719f179441e4d12ee)
(cherry picked from commit 2a2744f1e612a1ed0a38cadd2b49100613da70d6)
|
|
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)
|
|
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)
|
|
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)
|
|
Change-Id: I9295f963f2349cfbe06d35f417ce0b8617288ded
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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)
|
|
Change-Id: Id8b042fd38399f0cf1868f67b5a3f4f1b4f2ef0d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit dbe25c73b976a8a3d9b5c10dc92b8c9a17c68baa)
(cherry picked from commit b1acb9c247f09b6c6e29442c4d8e067d6e4a3c10)
|
|
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)
|
|
Change-Id: If7274135a1dd1662a3735f52a75e6d6e663e0bca
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I7770873b2f7d61db05a9546631fdc2d4ddf3d20c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 2649efe3166ec1525f825bf21b63e6eb53aaaac6)
|
|
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)
|
|
Change-Id: I43846aa04e9e9951fc55543b8d2d2fda7c39bb64
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
https://travis-ci.org/github/collivier/functest-kubernetes/jobs/682053007
Change-Id: Iedac5d4c47bec7cdd00c65e9d7f8d0cd3488ef9a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
.travis-ci applies a false umask
Change-Id: I8e93d64019fffe0a88cd49c565a40419a491f5a0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 6099914e9832592ac63f0d3505ea3466eb13117d)
|
|
Change-Id: I5d0f3760fd9911bec51bf0334ca3cc7cf6f61885
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: Ie7674e5ce2dc3bcf888ef324ec652904d1e6ce5f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It updates to the latest K8s v1.15 version.
Change-Id: Ia9bca9956da02233d87c24b6a2e8b1535bbe5f59
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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)
|
|
Change-Id: I5f61bfdcfa7efa7dfe0a3cf379770e79334de90e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 6119abf09d3d5a98509619b650b054aca2edbceb)
|
|
It allows detecting mimetypes.
Change-Id: Ieeae5e92142daab2ea724f1c332a71a8b0c63102
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit bee77a2c2c6571c622a8e533ed0b80cdb49302ea)
|
|
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)
|
|
It overrides the default log files.
Change-Id: I6a1f9951b47b761e4e1832140181a57dd886117c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 63b56cf0740fd5e2e0b7b022e287b27ddb898dee)
|
|
Change-Id: Iabcc7176029b513404395962369aee44eb183dd1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Functest Kubernetes has supported both py2 and py3.
py3 is now selected due to the OPNFV Iruya planning closed to python2
EOL.
Change-Id: I62a142b658e6d478021038a36138ce00ea4bced8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Most the features are stopped and Functest shouldn't host dead code.
Functest is a framework (Docker and Python modules) which can be still
reused by any third-party (OPNFV Feature or anything else) in its tree
and CI
Change-Id: Ie2f5beddd21b09aabfbdf2bb2f3366e652d43b3a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 5149d87c348555184e2ecc48e57697531c5ff38b)
|
|
It was falsy copied/pasted from master.
Change-Id: I80d0ad0b8ff641c820b20f3cc0cb1eaa6d2b4615
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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)
|
|
Change-Id: Ia8b09db7d8e4820e7f95f7635649c35004b0987e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: If2d786c50addbd17948afdcd3c803293d03318f8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 7092ae97a37936ff0584e0845d9a87f4e5f86696)
|
|
It also updates pylint.
Change-Id: Ifcc597bc4a6aabdb56588949af3b7cf4d52221af
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It also fixes the warning.
Change-Id: Ia24208590994418dc8a200e7336cf8a62f0976d3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 424717dfd95388ff2ddc9fe929ac170689a78eca)
|
|
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)
|
|
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)
|