Age | Commit message (Collapse) | Author | Files | Lines |
|
It adds k8s_vims, kube_bench and kube_hunter.
Change-Id: I13ead6e23c675a6ed2e70d95914cbf7cf9d54842
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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>
|
|
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>
|
|
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>
|
|
It also updates Python to 3.8 (default version).
https://alpinelinux.org/posts/Alpine-3.11.0-released.html
Change-Id: I3bbfdb76d2fb71f9a426e4fe7dacace0917e2070
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
git commit has to be executed via shell module [1].
[1] https://github.com/ansible/ansible/issues/50334
Change-Id: Ie4595f7bc2b54545b2f824f5ac3fb1d20340f13c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I5f61bfdcfa7efa7dfe0a3cf379770e79334de90e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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>
|
|
It allows detecting mimetypes.
Change-Id: Ieeae5e92142daab2ea724f1c332a71a8b0c63102
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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>
|
|
It overrides the default log files.
Change-Id: I6a1f9951b47b761e4e1832140181a57dd886117c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It's asked by Kubernetes master [1]
[1] https://build.opnfv.org/ci/job/functest-kubernetes-healthcheck-docker-build-amd64-master/90/console
Change-Id: I0fdd06944fea8ce328e16459e6cf4a9e2c6fa4f7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Functest K8s container builds failed [1]
[1] https://build.opnfv.org/ci/view/functest%20(Installer%20gates)/job/functest-kubernetes-docker-master/94/
Change-Id: I3da0ebf05e1dd25b7fb609e0e851c07ed1722723
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>
|
|
It selects the generic way to set execution-type [1].
[1] https://github.com/collivier/ansible-role-xtesting/commit/292ab576fb8f0a13519bacc5ec46561a3ed8f838
Change-Id: I8b4d7dc3433cc210cd9eac180a1f247286ac1d7e
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>
|
|
Change-Id: If2d786c50addbd17948afdcd3c803293d03318f8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
pylint is updated to 2.3.1 (lastest py3.7 version)
Change-Id: I8b70e9764e2802aeb517969c265fbebfa03458ce
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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>
|
|
It also fixes the warning.
Change-Id: Ia24208590994418dc8a200e7336cf8a62f0976d3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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>
|
|
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>
|
|
Change-Id: I89f5a9172bed9d6861543250a971e09466d1307b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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>
|
|
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>
|
|
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: If241c5323f286c33aaae804479375efe4c3c1588
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
|
|
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>
|
|
Change-Id: I92802637ad2177044f6f8c6f628ede80887583c3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I829c7798d21abb013db09d80cc509862fa5b9e2d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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>
|
|
Change-Id: Id51c2932e126ce1b29e43c95cc786101675bfa99
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
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>
|
|
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>
|
|
It completes the previous commit updating Alpine.
Change-Id: I5f29bbe9d8c79f50d3270ad76eec687073351e43
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It updates to the latest Alpine release [1]
[1] https://www.alpinelinux.org/posts/Alpine-3.9.0-released.html
Change-Id: I4afbc1d4830647f11509a02df5820ce7d33541ae
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It fixes Conformance to [Conformance] and add the skips test regex.
It now conforms with Kubernetes Certification (see Sunobuoy)
Change-Id: Ic25bb72c839810cf41668a3a8b86579a3fd59629
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I246065e176eba9e8dbd31b8f54974b3b2a498f2f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: Ic7db95470d510813949c059b2b573425446d2c34
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
port is reserved in ansible.
Change-Id: I095396a94ac34ca6bded65033d1a7e2446eaeb8f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
They can now be generated via the new ansible role.
Change-Id: I6ca1f14873b83a343e00a5d5a75a746ce9d0e6e8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: Icfe4445c1405749698d2db42fa6001ad3d261e29
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
New OpenStack upper-constraints require build deps.
Change-Id: Ib0318badfb13f528c20f4e01afdeaba36f442f9c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It eases verifying OpenStack by deploying the full testing toolchain
via Ansible. As opposed to the Releng model, all tests can be executed
in parallel.
It leverages on Xtesting Ansible role which currently deploys
Jenkins, Minio, S3www, MongoDB, TestAPI and loads all jobs in Jenkins.
The dashboard will be deployed in the next update of the ansible role.
To deploy the testing toolchain:
$ ansible-galaxy install collivier.xtesting
$ ansible-playbook ansible/site.yml
Change-Id: Ie409653ae4f7f4d315449ee54ae0c504272f7899
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* changes:
Prepare OPNFV functest releases
Disable py36
|
|
It sets version = 9 (I-release).
Change-Id: I9b371e444be9fc61b3d1dcaf41870795287f3fed
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
All OPNFV build server doesn't support py36.
Change-Id: I79c404d4104d90917cb50e87b545cbc9d7f158ca
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Build servers haven't been updated yet to support py36.
Change-Id: I05247a7ded6518a558ffd52eb38433c45a5338e4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It fixes all issues raised by the Alpine testing go package [1].
It conforms with Kubernetes which requires the latest go version.
[1] https://build.opnfv.org/ci/job/functest-kubernetes-healthcheck-docker-build-amd64-master/45/console
Change-Id: I388c843a21af9763703a40586ecf9b0b4583ebcb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It conforms with Alpine 3.8
Change-Id: If384d374224bdc465b68f134e60051d43ef951af
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: If0ef89ba521d02b5ea1a1fcb5bc3e546f93e2859
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|