Cédric Ollivier [Mon, 17 Aug 2020 08:12:17 +0000 (10:12 +0200)]
Switch to latest K9S v1.19 rc
Change-Id: I3a8b45e8347b5a4eea3398cb2f84796b2893cace
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 16 Aug 2020 11:47:36 +0000 (13:47 +0200)]
Fix arm -> arm64
Change-Id: I3d7d16ec7d8a7712a279258f817d811f0d59187f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 16 Aug 2020 09:56:12 +0000 (11:56 +0200)]
Leverage alpine rather than golang
golang is now useless as we stop compiling kubernetes binaries.
Change-Id: I7b9416281de069d1f454b13eff6e9e6107f7471e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 14 Aug 2020 11:58:13 +0000 (13:58 +0200)]
Stop compiling K8s testing binaries
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>
Cédric Ollivier [Fri, 14 Aug 2020 07:55:35 +0000 (09:55 +0200)]
Update golang to 1.15 in site.yaml
Change-Id: I8891ab01dcbeee7711fcb704535ce1621d0dc7c3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 14 Aug 2020 07:29:36 +0000 (09:29 +0200)]
Update golang to 1.15
As asked by Kubernetes [1]
[1] https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-healthcheck-latest-gate/60/console
Change-Id: Ic57fe67f6568d19615599f7762a18170158c6771
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 13 Aug 2020 20:01:31 +0000 (22:01 +0200)]
Conform with Functest pylint config
Change-Id: Ie12d17a32fe8ee7ee212a6a4acf6aec107377390
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Thu, 13 Aug 2020 15:16:10 +0000 (15:16 +0000)]
Merge "Make K8s security tests namespace aware"
Cédric Ollivier [Thu, 13 Aug 2020 10:04:31 +0000 (12:04 +0200)]
Ease modifying the test list in E2E testing
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>
Cédric Ollivier [Thu, 13 Aug 2020 10:51:55 +0000 (12:51 +0200)]
Make K8s security tests namespace aware
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>
Cédric Ollivier [Thu, 13 Aug 2020 08:34:48 +0000 (10:34 +0200)]
Make K8s_vims namespace aware
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>
Cédric Ollivier [Tue, 11 Aug 2020 20:38:47 +0000 (22:38 +0200)]
Remove GOFLAGS in Dockerfile
Change-Id: Ifc6c63641b9512b4b930c1d7032cae55d2afb811
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 11 Aug 2020 17:23:25 +0000 (19:23 +0200)]
Remove useless repo in site.yaml
Change-Id: Ie5db13dda8dfcaa5bb26e39858448bddee8f6a2c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 11 Aug 2020 17:22:07 +0000 (19:22 +0200)]
Stop building smoke if arm and arm64
Change-Id: Ifef3eef410cdca58855bda471ef2be49bf3ba64f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 11 Aug 2020 16:17:34 +0000 (18:17 +0200)]
Don't build arm containers on TravisCI
From the time being, they are reaching timeouts.
Change-Id: I5a2d6060f1f1042f630eeafa1876ed434e681e3a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 10 Aug 2020 19:40:11 +0000 (21:40 +0200)]
Compile all Functest K8s containers for arm v7 and v8
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>
Cédric Ollivier [Thu, 6 Aug 2020 19:59:05 +0000 (21:59 +0200)]
Only upgrade py3-distlib
https://travis-ci.org/github/collivier/functest/jobs/
715442363
Change-Id: Ib84615def124d38e29582b31af4229325fd3ab1a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 5 Aug 2020 23:40:15 +0000 (01:40 +0200)]
Updated from global requirements
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I3a60f9916ff96b1820c72bb9b45b3c919baeade1
Cédric Ollivier [Wed, 5 Aug 2020 15:09:27 +0000 (17:09 +0200)]
Install py3-wheel in functest-kubernetes-core
It fixes all deprecated warnings.
Change-Id: Idd02668fac42a8e0c93d6df5a3e13b788716e873
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 6 Aug 2020 04:11:50 +0000 (06:11 +0200)]
Install py3-distlib from Alpine Edge
Alpine 3.12 doesn't offer a version compatible with latest OpenStack
constraints [1].
[1] https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-core-latest-gate/68/console
Change-Id: I70930f888d9612d44b73c5d87b9dc1663d02be1c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 9 Jul 2020 15:10:28 +0000 (17:10 +0200)]
Boot Ellis once homestead-depl is ready
Change-Id: If61a36020f3dfa5ba0a9858df769138257f9ec94
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 7 Jul 2020 14:28:10 +0000 (16:28 +0200)]
Improve vIMS service order
It seems fixing the last side effects.
Change-Id: Iee8506c2f0048f7c2619b772aea815288a40145e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 7 Jul 2020 08:29:21 +0000 (10:29 +0200)]
Update to go 1.14
https://build.opnfv.org/ci/job/functest-kubernetes-healthcheck-docker-build-amd64-master/116/console
Change-Id: I8559ee71fe05682792728a62baa628c8199dfdd6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 7 Jul 2020 08:11:43 +0000 (10:11 +0200)]
Remove energy from logging configs
Change-Id: I35c15aa68fe1afadcdbf3d391febb166358c90be
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 7 Jul 2020 07:51:07 +0000 (09:51 +0200)]
Remove distlib from OpenStack constraints
It raised side effects wih Alpine [1].
[1] https://build.opnfv.org/ci/job/functest-kubernetes-core-docker-build-amd64-master/126/console
Change-Id: If52bff670c7646e7cdc6703a6ed397a23a2be2b9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 6 Jul 2020 18:09:41 +0000 (20:09 +0200)]
Manage Ims service dependencies
Change-Id: I6647d9acfabd2ce2d12ff2f30393c2de8f6165ff
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 8 Jun 2020 08:16:32 +0000 (10:16 +0200)]
Apply Rally patch (switch to threading for tasks)
Change-Id: I8f4df2d4c220edc538c743cccce8050efe4a1140
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 6 Jun 2020 16:04:35 +0000 (18:04 +0200)]
Update to alpine3.12
https://alpinelinux.org/posts/Alpine-3.12.0-released.html
Change-Id: I3c95f0867c4364b93fd8ba14093710b7c0fdda8d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 5 May 2020 21:43:23 +0000 (23:43 +0200)]
Try a quick fix vs the race conditions in xrally
Change-Id: I57a4c317ba365586c10b13d425aac021dd030949
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 1 May 2020 14:14:14 +0000 (16:14 +0200)]
Disable perm check
.travis-ci applies a false umask
Change-Id: I8e93d64019fffe0a88cd49c565a40419a491f5a0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 4 Apr 2020 16:35:16 +0000 (18:35 +0200)]
Improve Ims coding
Change-Id: Id8b042fd38399f0cf1868f67b5a3f4f1b4f2ef0d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Wed, 29 Apr 2020 13:27:46 +0000 (13:27 +0000)]
Merge "Drop py27 verification"
Cédric Ollivier [Wed, 29 Apr 2020 10:41:36 +0000 (12:41 +0200)]
Updated from global requirements
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I648dae3ff1573edcdf75df6806527a8427c21edf
Cédric Ollivier [Wed, 29 Apr 2020 09:56:04 +0000 (11:56 +0200)]
Drop py27 verification
Rally dropped py27 support.
Change-Id: I298088905dab16a0b085d7f47aa90a74b253a5d6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 15 Mar 2020 16:15:38 +0000 (17:15 +0100)]
Fix phase conditions
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>
Cédric Ollivier [Sat, 14 Mar 2020 12:22:29 +0000 (13:22 +0100)]
Publish debug logging config
Change-Id: I6a42fdeb20e0d549819c327e92e138c28dc927e1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 14 Mar 2020 09:05:08 +0000 (10:05 +0100)]
Fix project name in security's testcases.yaml
Change-Id: I7770873b2f7d61db05a9546631fdc2d4ddf3d20c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 14 Mar 2020 07:30:33 +0000 (08:30 +0100)]
Override the right log files
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>
Cédric Ollivier [Fri, 13 Mar 2020 15:39:16 +0000 (16:39 +0100)]
Take latest test cases into account
It adds k8s_vims, kube_bench and kube_hunter.
Change-Id: I13ead6e23c675a6ed2e70d95914cbf7cf9d54842
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
mrichomme [Mon, 10 Feb 2020 16:49:43 +0000 (17:49 +0100)]
Add security docker for functest-kubernetes
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>
Cédric Ollivier [Thu, 12 Mar 2020 16:31:56 +0000 (17:31 +0100)]
Deploy Clearwater IMS using Kubernetes
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>
Cédric Ollivier [Sun, 8 Mar 2020 16:30:22 +0000 (17:30 +0100)]
Remove Kubernetes.create_check_and_delete_daemonset
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>
Cédric Ollivier [Sat, 4 Jan 2020 21:10:48 +0000 (22:10 +0100)]
Update Alpine to 3.11
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>
Cédric Ollivier [Sat, 7 Dec 2019 13:15:02 +0000 (14:15 +0100)]
Disable false ansiblelint warnings
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>
Cédric Ollivier [Wed, 27 Nov 2019 10:30:13 +0000 (11:30 +0100)]
Update package index before install packaging in CircleCI
Change-Id: I5f61bfdcfa7efa7dfe0a3cf379770e79334de90e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 17 Nov 2019 09:27:46 +0000 (10:27 +0100)]
Correctly override dir_results and res_dir in rally_kubernetes
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>
Cédric Ollivier [Sat, 16 Nov 2019 17:03:09 +0000 (18:03 +0100)]
Add mailcap in dependencies
It allows detecting mimetypes.
Change-Id: Ieeae5e92142daab2ea724f1c332a71a8b0c63102
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 16 Nov 2019 13:07:49 +0000 (14:07 +0100)]
Correctly override dir_results and res_dir
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>
Cédric Ollivier [Sun, 10 Nov 2019 08:19:13 +0000 (09:19 +0100)]
Update to Xtesting 0.82
It overrides the default log files.
Change-Id: I6a1f9951b47b761e4e1832140181a57dd886117c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 7 Nov 2019 21:34:03 +0000 (22:34 +0100)]
Update to Go 1.13
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>
Cédric Ollivier [Fri, 20 Sep 2019 03:45:21 +0000 (05:45 +0200)]
Select go 1.12 instead of 1.13 (rolling)
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>
Cédric Ollivier [Sat, 31 Aug 2019 09:20:46 +0000 (11:20 +0200)]
Remove Features containers
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>
Cédric Ollivier [Thu, 22 Aug 2019 13:16:32 +0000 (15:16 +0200)]
Conforms with latest changes in Xtesting ansible role.
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>
Cédric Ollivier [Sat, 10 Aug 2019 12:59:41 +0000 (14:59 +0200)]
Run Functest K8s unit tests via CircleCI
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>
Cédric Ollivier [Sat, 3 Aug 2019 12:41:24 +0000 (14:41 +0200)]
Run perm in functest-kubernetes
Change-Id: If2d786c50addbd17948afdcd3c803293d03318f8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 27 Jul 2019 15:09:05 +0000 (17:09 +0200)]
Switch to Python 3.7 and Alpine 3.10
pylint is updated to 2.3.1 (lastest py3.7 version)
Change-Id: I8b70e9764e2802aeb517969c265fbebfa03458ce
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 30 Jun 2019 13:03:00 +0000 (15:03 +0200)]
Add a new testcase leveraging on xrally/kubernetes
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>
Cédric Ollivier [Wed, 10 Jul 2019 18:20:39 +0000 (20:20 +0200)]
Turn bashate warnings into errors
It also fixes the warning.
Change-Id: Ia24208590994418dc8a200e7336cf8a62f0976d3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 27 Jun 2019 19:33:20 +0000 (21:33 +0200)]
Rewrite kubernetes parsing
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>
Cédric Ollivier [Thu, 27 Jun 2019 09:31:48 +0000 (11:31 +0200)]
Disable log dump
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>
Cédric Ollivier [Thu, 27 Jun 2019 12:09:25 +0000 (14:09 +0200)]
Remove useless ci_loop in testcase descriptions
Change-Id: I89f5a9172bed9d6861543250a971e09466d1307b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 25 Jun 2019 11:35:34 +0000 (13:35 +0200)]
Keep kubernetes sources
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>
Cédric Ollivier [Sat, 25 May 2019 08:17:21 +0000 (10:17 +0200)]
Run bandit when verifying changes
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>
Cédric Ollivier [Sat, 25 May 2019 07:58:27 +0000 (09:58 +0200)]
Set utf-8 in decode and encode calls
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>
Cédric Ollivier [Sun, 12 May 2019 10:58:29 +0000 (12:58 +0200)]
Update to Python3
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>
Cédric Ollivier [Wed, 24 Apr 2019 16:46:14 +0000 (18:46 +0200)]
Slightly improve tox.ini
Change-Id: I92802637ad2177044f6f8c6f628ede80887583c3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 21 Apr 2019 18:32:45 +0000 (20:32 +0200)]
Update all OpenStack refs to opendev.org
Change-Id: I829c7798d21abb013db09d80cc509862fa5b9e2d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 13 Apr 2019 14:56:28 +0000 (16:56 +0200)]
Run tox in .travis-ci
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>
Cédric Ollivier [Wed, 19 Dec 2018 08:50:53 +0000 (09:50 +0100)]
Verify Ansible playbooks via ansible-lint
Change-Id: Id51c2932e126ce1b29e43c95cc786101675bfa99
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 24 Mar 2019 12:53:07 +0000 (13:53 +0100)]
Fix manifest-tool builds
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>
Cédric Ollivier [Sun, 24 Mar 2019 10:03:37 +0000 (11:03 +0100)]
Set db_project in ansible/site.yml
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>
Cédric Ollivier [Sat, 23 Mar 2019 18:32:43 +0000 (19:32 +0100)]
Update Alpine tag in build.sh and ansible/site.yml
It completes the previous commit updating Alpine.
Change-Id: I5f29bbe9d8c79f50d3270ad76eec687073351e43
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 18 Mar 2019 20:20:28 +0000 (21:20 +0100)]
Update to Apine 3.9
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>
Cédric Ollivier [Sun, 10 Mar 2019 08:17:57 +0000 (09:17 +0100)]
Publish Junit files and fix Conformance regex
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>
Cédric Ollivier [Mon, 21 Jan 2019 12:58:49 +0000 (13:58 +0100)]
Fix container names in ansible/site.yml
Change-Id: I246065e176eba9e8dbd31b8f54974b3b2a498f2f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 17 Jan 2019 17:37:27 +0000 (18:37 +0100)]
Fix BRANCH args in ansible.yml
Change-Id: Ic7db95470d510813949c059b2b573425446d2c34
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 15 Jan 2019 14:18:36 +0000 (15:18 +0100)]
Switch from port to dport
port is reserved in ansible.
Change-Id: I095396a94ac34ca6bded65033d1a7e2446eaeb8f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 14 Jan 2019 17:55:57 +0000 (18:55 +0100)]
Remove former ci jobs
They can now be generated via the new ansible role.
Change-Id: I6ca1f14873b83a343e00a5d5a75a746ce9d0e6e8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 5 Jan 2019 15:43:25 +0000 (16:43 +0100)]
Add Functest k8s gate jobs
Change-Id: Icfe4445c1405749698d2db42fa6001ad3d261e29
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 27 Dec 2018 18:55:27 +0000 (19:55 +0100)]
Add build dependencies
New OpenStack upper-constraints require build deps.
Change-Id: Ib0318badfb13f528c20f4e01afdeaba36f442f9c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 19 Dec 2018 06:59:53 +0000 (07:59 +0100)]
Deploy Functest Kubernetes CI toolchains
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>
Cedric Ollivier [Tue, 30 Oct 2018 19:43:38 +0000 (19:43 +0000)]
Merge changes I9b371e44,I79c404d4
* changes:
Prepare OPNFV functest releases
Disable py36
Cédric Ollivier [Tue, 30 Oct 2018 19:31:31 +0000 (20:31 +0100)]
Prepare OPNFV functest releases
It sets version = 9 (I-release).
Change-Id: I9b371e444be9fc61b3d1dcaf41870795287f3fed
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 30 Oct 2018 19:35:48 +0000 (20:35 +0100)]
Disable py36
All OPNFV build server doesn't support py36.
Change-Id: I79c404d4104d90917cb50e87b545cbc9d7f158ca
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 19 Oct 2018 14:14:01 +0000 (16:14 +0200)]
Temporarily disable py36
Build servers haven't been updated yet to support py36.
Change-Id: I05247a7ded6518a558ffd52eb38433c45a5338e4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 18 Oct 2018 15:50:11 +0000 (17:50 +0200)]
Switch to golang:alpine3.8 as based image
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>
Cédric Ollivier [Wed, 17 Oct 2018 11:48:52 +0000 (13:48 +0200)]
Update python3 to python3.6
It conforms with Alpine 3.8
Change-Id: If384d374224bdc465b68f134e60051d43ef951af
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Juha Kosonen [Wed, 10 Oct 2018 10:08:18 +0000 (13:08 +0300)]
Set Ginkgo's reporter not to print out in color
Change-Id: If0ef89ba521d02b5ea1a1fcb5bc3e546f93e2859
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
Cédric Ollivier [Sat, 15 Sep 2018 11:08:31 +0000 (13:08 +0200)]
Update .travis.yml to manage manifests
It has to be updated since functest-kubernetes supports arm64.
Change-Id: I7726af24dd9a5ef29ed97003de64469cd27b1703
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 14 Sep 2018 12:26:30 +0000 (14:26 +0200)]
Stop writing in clusterapi-tester/pod.yaml
It was removed in master tree [1].
[1] https://build.opnfv.org/ci/job/functest-kubernetes-healthcheck-docker-build-arm64-master/20/console
Change-Id: Ice0c88c2a3954934acdb69828d9675efac6bb1fe
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 14 Sep 2018 05:51:06 +0000 (07:51 +0200)]
Update K8s tag to master
Change-Id: I772d9b267f5cbdac37a297ef617da77e97bc4d2b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Fri, 14 Sep 2018 03:27:13 +0000 (03:27 +0000)]
Merge "Disable OPNFV Features"
Cédric Ollivier [Thu, 13 Sep 2018 20:10:37 +0000 (22:10 +0200)]
Disable OPNFV Features
From the time being, none is synced to OPNFV hunter or newer.
Change-Id: If8a39bd185d1b7d396ea61bfebca2416b9bd5566
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Thu, 13 Sep 2018 08:19:34 +0000 (08:19 +0000)]
Merge changes I2b52f659,I894bb969
* changes:
Add OpenStack constraints
Update to OpenStack master
Cédric Ollivier [Thu, 13 Sep 2018 07:42:37 +0000 (09:42 +0200)]
Add OpenStack constraints
Change-Id: I2b52f6594629b171312caf25906b9e582613379b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 13 Sep 2018 07:41:19 +0000 (09:41 +0200)]
Update to OpenStack master
Change-Id: I894bb969d690537f6910b8cfcdb52162747121a6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 13 Sep 2018 05:51:34 +0000 (07:51 +0200)]
Updated from global requirements
Change-Id: I218e6cc1813824bc0c03e3eec42b6efdd463d8c7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 3 Sep 2018 18:54:58 +0000 (20:54 +0200)]
Rewrite git clones
Change-Id: I04c60b6c10ccd7b7e939002505e6e43e9c98eae7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 2 Sep 2018 12:55:13 +0000 (14:55 +0200)]
Update Xtesting to 0.60
Xtesting leverages on stevedore [1] which will bring much more
flexibility (discovery, module or class renaming, etc).
OPNFV Features have to be updated as well:
- https://gerrit.opnfv.org/gerrit/61719
- https://gerrit.opnfv.org/gerrit/61723
[1] https://docs.openstack.org/stevedore/latest/
Change-Id: Ibe2a6ab3ddca92882aa4a26f140d2db28d77cb86
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 1 Sep 2018 19:48:32 +0000 (21:48 +0200)]
Update Kubernetes to v1.11.2
Change-Id: If674867a7dc488c64fc3f0cda530560b5d306416
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>