Cédric Ollivier [Tue, 6 Apr 2021 12:13:58 +0000 (14:13 +0200)]
Run Feature:Networking-IPv6 Feature:IPv6DualStackAlphaFeature
kind master allows dualstack since [1]
[1] https://github.com/kubernetes-sigs/kind/commit/
31e595678ed008ac657756d650729c8fac9b3551
Change-Id: Ia2caeee1380ee9c31d3c5717dfa9c13b0de0506c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 6 Apr 2021 09:57:13 +0000 (11:57 +0200)]
Remove [k8s.io] testing
v1.21 enforces sig ownership of all e2e tests [1].
[1] https://github.com/kubernetes/kubernetes/issues/98326
Change-Id: Ibaac8ea38f54b08675a587afd9e138e65092997a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 5 Apr 2021 08:58:29 +0000 (10:58 +0200)]
Switch to latest-1.21
Else it would consider v1.22.0-alpha.0 (N+2).
Change-Id: Ie98418fc7068beb338a057af8ce8e092150cb696
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 4 Apr 2021 12:54:43 +0000 (14:54 +0200)]
Update test case list
Change-Id: Ide5fdd5967ce11847f9672259b79b6068c228848
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 4 Apr 2021 12:45:10 +0000 (14:45 +0200)]
Add k8s_io and serial test cases
It completes the first sig test cases.
Change-Id: I6b018177e93efe60f9de67f384e388d2a584536c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 4 Apr 2021 10:01:15 +0000 (12:01 +0200)]
Merge sig_network_features in sig_network
Change-Id: I33516a7b0f280355c40aa821738a0625e4fae93a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 3 Apr 2021 09:14:51 +0000 (11:14 +0200)]
Spit conformance into 2 test cases
It hugely decreases the overall test duration.
(10 + 15 << 120)
Change-Id: I534f6d09956bb51c32ad35c5a1baff8ebbfabb3d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 3 Apr 2021 07:37:06 +0000 (09:37 +0200)]
Fix etcd image repository in etcd-depl.yaml
Change-Id: I4447b4030b141b691b3a2cdf05c97c79de9eb72a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 2 Apr 2021 14:05:41 +0000 (16:05 +0200)]
Fix name in chronos-depl.yaml
Change-Id: Ia6972a216daaa9d807058b34b55615cab2c09b64
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 2 Apr 2021 11:12:52 +0000 (13:12 +0200)]
Run opnfv/functest-kubernetes-smoke sequentially
Now multithreading is enabled at test case level.
Change-Id: I17a9bdb07216cd645483a0a893da502abee2ade0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 2 Apr 2021 07:52:38 +0000 (09:52 +0200)]
Properly manage e2e parallel testing
It sets nodes=25 to run all tests in parallel.
It also beautifies all testcases.yml
Change-Id: I3ecd8899e957c0efbef34ab0409c2b4d557c9425
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 1 Apr 2021 23:05:48 +0000 (01:05 +0200)]
Rather use skeleton instead of local
“skeleton”: cluster is accessed via the Kubernetes API and nothing
else.
https://kubernetes.io/blog/2019/03/22/kubernetes-end-to-end-testing-for-everyone/
Change-Id: Iea8b65b2ac55d40572c0078b7a9a956d1c54d62a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 31 Mar 2021 17:55:32 +0000 (19:55 +0200)]
Disable sig_scheduling as serial
All remaining sig-scheduling tests are serial and for the time
Functest doesn't run serial test cases.
https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-smoke-latest-sig_scheduling-run/13/console
Change-Id: I3f09077a1873b92120daa3a97cbb6f68558e2b4d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 25 Mar 2021 13:44:35 +0000 (14:44 +0100)]
Remove the useless Feature prefix
Change-Id: Ibec3e1cee170a91a4333b3c625ae39cd0c4bbe11
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Thu, 25 Mar 2021 12:01:01 +0000 (12:01 +0000)]
Merge "Exlude Serial and Feature:Feature:StorageVersionAPI"
Cedric Ollivier [Thu, 25 Mar 2021 12:00:55 +0000 (12:00 +0000)]
Merge "Blacklist all alpha testing"
Cédric Ollivier [Thu, 25 Mar 2021 09:57:32 +0000 (10:57 +0100)]
Exlude Serial and Feature:Feature:StorageVersionAPI
Serial asks to split the testcases into 2 runs.
https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-smoke-latest-sig_api_machinery-run/7/console
Change-Id: I58f9d9023f596141bbefae8339043f813a124854
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 25 Mar 2021 09:55:16 +0000 (10:55 +0100)]
Blacklist all alpha testing
Change-Id: Ifb9edb0d70f285825eb2cfee05a53590367b2650
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Sylvain Desbureaux [Wed, 24 Mar 2021 07:44:29 +0000 (08:44 +0100)]
Provide support for air gapped env for e2e
Sometimes, tested Kubernetes doesn't have direct access to Internet but
access through repository mirrors.
This patch handles this case for e2e test case.
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Iaa2960ad03aae1fff859d41bcd6ddf3176658f8e
Sylvain Desbureaux [Wed, 24 Mar 2021 07:23:03 +0000 (08:23 +0100)]
Provide support for air gapped env for ims
Sometimes, tested Kubernetes doesn't have direct access to Internet but
access through repository mirrors.
This patch handles this case for ims test cases.
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I3b5e78fcf43ca7af6bcfd2d87fa4bb0705373697
Sylvain Desbureaux [Wed, 24 Mar 2021 06:51:29 +0000 (07:51 +0100)]
Provide support for air gapped env for security
Sometimes, tested Kubernetes doesn't have direct access to Internet but
access through repository mirrors.
This patch handles this case for security test cases.
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I699d065ee691596c4a5ccf06c22ea76ef00fe497
Cédric Ollivier [Mon, 22 Mar 2021 08:37:13 +0000 (09:37 +0100)]
Add missing blackslashing
https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-smoke-leguer-sig_apps-run/2/console
Change-Id: I5cd41f2da49e59acd6bd06ded0c4e2178e7402b7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 21 Mar 2021 13:46:40 +0000 (14:46 +0100)]
Add sig_node
It runs sig-node tests which are not included in K8s conformance.
It adds 38 single tests.
Change-Id: Idbd172517e705402632a7fadb4d4639b5f1ee2d1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 21 Mar 2021 12:58:13 +0000 (13:58 +0100)]
Add sig_cluster_lifecycle
It runs sig-cluster-lifecycle tests which are not included in K8s conformance.
It adds 4 single tests.
Change-Id: I834523d753eec9bd570b8d4cc1cf3550b4a19bab
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 21 Mar 2021 12:47:36 +0000 (13:47 +0100)]
Add sig_instrumentation
It runs sig-instrumentation tests which are not included in K8s conformance.
It adds 6 single tests.
Change-Id: Ic320f3bc7daed0aa2846a7ea672f13f3bec45f12
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 21 Mar 2021 12:30:30 +0000 (13:30 +0100)]
Add sig_scheduling
It runs sig-scheduling tests which are not included in K8s conformance.
It adds 19 single tests.
Change-Id: I9b34c327cc1079e401771b1fa77a6baeef24251c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 21 Mar 2021 12:18:49 +0000 (13:18 +0100)]
Add sig_cli
It runs sig-cli tests which are not included in K8s conformance.
It adds 34 single tests.
Change-Id: I4beaf9d08d151d06fc3f3c05770c51dcc68f762a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 21 Mar 2021 11:59:13 +0000 (12:59 +0100)]
Add sig-apps
It runs sig-apps tests which are not included in K8s conformance.
Change-Id: Ic02e75b94e6cd923f05af16eb98706599fd26f59
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 21 Mar 2021 11:52:46 +0000 (12:52 +0100)]
Add sig-auth
It runs sig-auth tests which are not included in K8s conformance.
Change-Id: I5684dbcb5d61866f5ae1cb483f3a119b8d3c7807
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 21 Mar 2021 09:47:27 +0000 (10:47 +0100)]
Add sig-api-machinery
It runs sig-api-machinery which are not included in K8s conformance.
It adds 97 single tests.
Change-Id: I76949b75e2d6c59d21f459f8fc358e806af6f23d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Sylvain Desbureaux [Tue, 16 Mar 2021 13:09:29 +0000 (14:09 +0100)]
Provide support for air gapped env for rally
Sometimes, tested Kubernetes doesn't have direct access to Internet but
access through repository mirrors.
This patch handles this case for rally test case.
There's two ways for providing the repository mirrors:
- Give an environment variable (`MIRROR_REPO`) which gives a repository
mirro with all needed images.
- Gives an environment variable per needed repo:
- `DOCKERHUB_REPO` for DockerHub repository (`docker.io`)
- `GCR_REPO` for Google Cloud repository (`gcr.io`)
- `K8S_GCR_REPO` for Kubernetes repository (`k8s.gcr.io`)
Needed images list has also been extracted so Kubernetes administrator can
easily upload these images to the mirror if the mirror also doesn't have
access to Internet.
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I2ea6622b79f7e3c3c63c1441c4dab48e9bc4fb1a
Cédric Ollivier [Mon, 15 Mar 2021 08:49:32 +0000 (09:49 +0100)]
Fix k8s.gcr.io/etcd tag (3.4.13-0)
Change-Id: Idbc520f1b196fd9d66dc57d32a543a6af7b73598
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 17 Feb 2021 21:48:36 +0000 (22:48 +0100)]
nit: highlight the release
Change-Id: I09e3708d4afb477bdc767f124a778d0176f448a8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 17 Feb 2021 21:37:28 +0000 (22:37 +0100)]
Move former wiki to README.md
https://wiki.opnfv.org/pages/viewpage.action?pageId=
20742412
Change-Id: I75a9303b2ee5b2df66e0169b37408bb9ad881d5a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 11 Feb 2021 07:53:41 +0000 (08:53 +0100)]
Add Cargo as build dev
https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-core-latest-build/2/console
Change-Id: Ic4ac415de09226d4ce2bb59a2790be5364efbf35
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 10 Feb 2021 23:22:54 +0000 (00:22 +0100)]
Force legacy pip resolver
Change-Id: I6e3ad097333b529e4d80cbf52905e4e75cb96227
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 10 Feb 2021 13:32:20 +0000 (14:32 +0100)]
Fix alpine version
It also install rust as it's now a build dependency.
Change-Id: I8fb11095b3fa29d40ec415c111015abd2dea2b34
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 10 Feb 2021 10:43:34 +0000 (11:43 +0100)]
Upgrade system first
Change-Id: I0120e6a368b033f2fb47257ff9dcc3fd8a58d243
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 4 Feb 2021 11:57:09 +0000 (12:57 +0100)]
Allow parameterizing K8s versions
ONAP integration team asks to support all K8s versions.
A couple of OPNFV releases will allow testing 2 K8s versions.
Change-Id: Idb43cff0cc03cc9c17b290f7f1867e2c380c6319
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 26 Jan 2021 08:29:17 +0000 (09:29 +0100)]
Rename sig_network_feature -> sig_network_features
It also takes into account the last results (SCTP seems falky):
https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-smoke-latest-sig_network-run/1/console
https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-smoke-latest-sig_network_feature-run/3/console
https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-smoke-latest-sig_storage-run/1/console
Change-Id: I7d4b11462da33d20fd5ed00d870f1099b70f437b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 25 Jan 2021 17:42:13 +0000 (18:42 +0100)]
Export GINKGO_PARALLEL=y
It would speedup the testing.
Change-Id: I084bcf0d44a060f65eb9549eab8dcbbf5a4cc9d5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 25 Jan 2021 17:00:10 +0000 (18:00 +0100)]
Run rally first
After all tests are based on e2e tests.
Change-Id: I727f40255ccc165f9a7da7fa7bdff1a629614d21
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 25 Jan 2021 16:32:36 +0000 (17:32 +0100)]
Add sig-storage
It runs the remaining sig-storage testing excluding the next labels:
Conformance (part of k8s_conformance), all features, all drivers and
Slow.
Change-Id: I486d8ecdfc46287f4774ba8acaa64d47fb1da287
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 25 Jan 2021 11:20:22 +0000 (12:20 +0100)]
Add sig_network
It runs the remaining sig-network testing excluding the next labels:
Conformance (part of k8s_conformance), all features and load.balancer.
Change-Id: I708ff4690205196e5f69382890a39ea4fd5b6942
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 25 Jan 2021 09:13:44 +0000 (10:13 +0100)]
Add sig_network_feature
It verifies a couple of features by running a subset of e2e tests:
Ingress, Networking-IPv4, Networking-Performance, PerformanceDNS, SCTP
and NoSNAT. It excludes by default NetworkPolicy, Networking-IPv6,
IPv6DualStackAlphaFeature and Example. A couple of features may be
automatically skipped like NEG and kubemci.
Change-Id: I6efac39bb99c1deb8efe8e82d976d69d6540a9d1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 21 Jan 2021 15:49:53 +0000 (16:49 +0100)]
Update to alpine:3.13
Change-Id: I6087facf8ac62de3460861fe69e8f5270cf5d922
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 10 Jan 2021 14:03:44 +0000 (15:03 +0100)]
Update cnf-conformance to v0.9.19
It also adds configs needed by resilience.
https://github.com/cncf/cnf-conformance/releases/tag/v0.9.19
Change-Id: I94b1efc47c5ceef96bc8879a6c71f92db1f63bd2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 9 Jan 2021 21:53:22 +0000 (22:53 +0100)]
Switch to latest (v1.21.0-alpha.0)
Change-Id: I30d7e4c8861811bf405ae79eb6d6c7bf82226dd6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 11 Dec 2020 16:16:18 +0000 (17:16 +0100)]
Update to latest Kubernetes release
Change-Id: Id2c05f8b425eeba1924bc2bc2688233beeb7457b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 10 Dec 2020 18:11:46 +0000 (19:11 +0100)]
Use pip==20.2.4 in tox venv
pip 20.3 is disruptive and would lead to big changes in stable
branches.
Change-Id: Ic3770f4098c52b0d26bc62291c9e79e8ee81d107
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 27 Nov 2020 08:06:16 +0000 (09:06 +0100)]
Sync with xrally_kubernetes
As upstream is fixed [1][2], it can partially revert
- Force Kubernetes 11.0 to please xrall_kubernetes
- Allow offline testing via xrally_kubernetes
[1] https://github.com/xrally/xrally-kubernetes/commit/
2ffa85af2bff3438b6b23034b6ec6ee1de481090
[2] https://github.com/xrally/xrally-kubernetes/commit/
8caf16cd017d475360b2345b3091a9881cd884d0
Change-Id: I43ca1966dcf61e55c45f13adf27ba5b0035d8fda
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 22 Nov 2020 11:09:12 +0000 (12:09 +0100)]
Allow offline testing via xrally_kubernetes
It locally patches xrally_kubernetes before [1] is merged upstream.
It adds docker.io/appropriate/curl:edge in download_images.sh too.
[1] https://github.com/xrally/xrally-kubernetes/pull/51
Co-Authored-By: Tamas Lendvay <tamas.lendvay@nokia.com>
Change-Id: I82ea2c777cd4d8f24c38dbf32d66081846e3e9af
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 22 Nov 2020 00:40:44 +0000 (01:40 +0100)]
Reduce cnf-conformance criteria
It's considered as passed vs 95 out of 105 [1].
[1] http://artifacts.opnfv.org/functest-kubernetes/ACI2B7JDLFHI/functest-kubernetes-opnfv-functest-kubernetes-cnf-kali-cnf_conformance-run-16/functest-kubernetes.log
Change-Id: Ib16927cf269784daba1085a3e97fb611e869928f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 21 Nov 2020 12:06:25 +0000 (13:06 +0100)]
Update cnf_conformance to v0.9.4
It removes all hacks bypassing a few former bugs (e.g. [1]) and adapts
to the new cnf-conformance result output logic.
It runs all workload tests as it's now proposed (k8s conformance
is already part of smoke) and select the latest coredns
cnf-conformance.yml taking latest helm repo changes into account.
It sets criteria 95 as all steps are considered as passed and a
overall result 100/105.
[1] https://github.com/cncf/cnf-conformance/issues/388
Change-Id: I95b7889b21b86961e7a1d0c84b13e0ae367cae44
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 20 Nov 2020 11:19:32 +0000 (12:19 +0100)]
Skip cnf_conformance till helm repos are fixed
Change-Id: Ie5b9aff6f56ca5cfd8501f142969f8a6246c4151
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 20 Nov 2020 11:13:45 +0000 (12:13 +0100)]
Force Kubernetes 11.0 to please xrall_kubernetes
It will be reverted once xrally_kubernetes is ready.
Change-Id: If0ad5cd018ec4edeb8c150d789df051b3f55baed
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 12 Nov 2020 16:26:25 +0000 (17:26 +0100)]
Add timeout as needed by Gitlab CI/CD
Gitlab CI/CD sets 1h as default timeout.
The timeout is valid for both test cases even if only k8s_conformance
reaches 1h (XtestingCI design).
Change-Id: Ieaef1cefb3dfc7f9ca47b1ce8ec082409fa52604
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
f38caec124b925f8c633f9d8b4474bd1085638a2)
Cédric Ollivier [Mon, 9 Nov 2020 15:28:49 +0000 (16:28 +0100)]
Split Gates in a dedicated site.yml
Change-Id: Idd4458cc003b1baef717bb87846081b9afe3976f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 23 Sep 2020 07:12:48 +0000 (09:12 +0200)]
Split kube_bench_master and kube_bench_node in site.cntt.yml
Change-Id: Ifb9a5ac2fac7286d5f3f5e677fc2a7ecda6ade25
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 22 Sep 2020 14:47:04 +0000 (16:47 +0200)]
Stop hardcoding ims- as generate_name
Change-Id: I3ea22a4050ff1eb609cffb61edc41c49fab44366
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 20 Sep 2020 16:28:36 +0000 (18:28 +0200)]
Redirect helm false warnings to logs
Helm fails when detecting arch if qemu.
time="2020-09-17T16:25:15Z" level=error msg="failure getting variant" error="getCPUInfo for pattern: Cpu architecture: not found"
https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-cnf-arm64-latest-helm_vims-run/1/console
Change-Id: Ida37062a780f9e2acf60035bf2d41fb8fbb61173
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 16 Sep 2020 09:34:51 +0000 (11:34 +0200)]
Add helm_vims in site.cntt.yml
https://github.com/cntt-n/CNTT/pull/2022
Change-Id: Icb4bdfa0c1ecca9d0c5b4d5beef7ff4c5edb289e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 15 Sep 2020 21:18:16 +0000 (23:18 +0200)]
Publish helm_vims also based on clearwater-docker
It leverages helm rather than kubectl as proposed by k8s_vims.
A new abstract class Vims is added to factorize code between both
testcases.
Change-Id: Ie5de8d62e25e74f73f8e32167228a08e82989abd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 15 Sep 2020 08:03:30 +0000 (10:03 +0200)]
Increase timeout in vIMS
It depends on bandwidth.
30 minutes should be enough in all scenarios
Change-Id: Ieaad053c8f8a270e5da08275de217b15fdf17f44
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 14 Sep 2020 19:47:11 +0000 (21:47 +0200)]
Don't run disruptive hunter checks
Change-Id: I52cb8303950269946774546cf8e413166c70a33c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 13 Sep 2020 12:53:26 +0000 (14:53 +0200)]
Split kube-bench master and node
The former deployment asked for all-in-one.
Change-Id: I12e470cec9e82b82c6f3ea5ff2431087f5deb9be
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 13 Sep 2020 08:44:38 +0000 (10:44 +0200)]
self.details must be a dict
Change-Id: I4f65a9eeb7eda471371668db9abfa49e2875c5b0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 12 Sep 2020 14:12:50 +0000 (16:12 +0200)]
Improve kube_bench output
It also fills self.details.
Change-Id: Ie73215ebcbd34de9d457fd364de4ab9cbdf64319
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 12 Sep 2020 11:52:47 +0000 (13:52 +0200)]
Enhance kube-hunter result postprocessing
It fills self.details and checks if the test case passes according
to criteria (severity = high by default)
Change-Id: Ib20779b4b5dca078c65b546c8703bc99856c6f41
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 12 Sep 2020 09:31:37 +0000 (11:31 +0200)]
Avoid running VNF testing if deployment failed
Change-Id: Id7642e47ec2cc438c5fe3a0ec9447f72b358adab
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 11 Sep 2020 22:42:07 +0000 (00:42 +0200)]
Add clusterIP: None in ims svc.yaml
Change-Id: I0709e83f32261af232c20f94c1edef7423e05527
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 10 Sep 2020 19:54:00 +0000 (21:54 +0200)]
Remove clusterIP: None in ims svc.yaml
It now works on minikube in addition to Functest gates.
Change-Id: I314989516f81dcddb3e615fe23480135f1d8cf9a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 10 Sep 2020 15:07:53 +0000 (17:07 +0200)]
Allow setting e2e non blocking taints via env vars
Change-Id: I8132769ea23a376b2cae8b93beed27f5e66b9207
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 10 Sep 2020 09:41:10 +0000 (11:41 +0200)]
Add quay.io/coreos/etcd:v2.2.5 in download_images.sh
Change-Id: I4b5da162dcb1efff810514498a20250c05afb3ba
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 9 Sep 2020 17:25:12 +0000 (19:25 +0200)]
Publish CNTT RC2 playbook
It runs the mandatory CNTT test cases [1].
[1] https://github.com/cntt-n/CNTT/commit/
6af033c254727b7405fbfb2efbaa023e2b8ba876
Change-Id: I87d381c78049f7309c564791ed701cf446cc85d2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 8 Sep 2020 21:27:50 +0000 (23:27 +0200)]
Add helper to download all images
It eases offline testing.
The default command leverages kind as in-use in Functest.
Change-Id: I66a20ede5e857f80cf49b9b708843034bc3b9904
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 8 Sep 2020 20:42:48 +0000 (22:42 +0200)]
Set all image tags
It allows offline testing via xrally_kubernetes, k8s_vims, kube_bench
and kube_hunter.
Change-Id: I3084abec19f06a894d0083ecb3ed61882eddd785
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 8 Sep 2020 18:45:18 +0000 (20:45 +0200)]
Remove latest in all images
The Kubernetes default pull policy is IfNotPresent unless the image tag
is :latest in which case the default policy is Always. IfNotPresent
causes the Kubelet to skip pulling an image if it already exists [1]
[1] https://kind.sigs.k8s.io/docs/user/quick-start/
Change-Id: I83dac6165d2bbef165ca852dd03e5b76a5356f2f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 8 Sep 2020 09:11:44 +0000 (11:11 +0200)]
Remove all imagePullPolicy: Always in ims depl yaml
It forbids offline testing.
Change-Id: I6790f64fd1382671300374b339ae038ef015cfab
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 7 Sep 2020 08:24:22 +0000 (10:24 +0200)]
Override default Xtesting logs in cnf-conformance
https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-cnf-latest-cnf_conformance-run/7/console
Change-Id: Ia6845525e62274f7792b4cb1909f36204fb51418
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 6 Sep 2020 13:32:11 +0000 (15:32 +0200)]
Decreate cnf-conformance criteria
conf-confirmance is beta.
Let's decrease criteria to allow gating [1].
[1] https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-cnf-latest-cnf_conformance-run/4/console
Change-Id: I77068fd027b2ae042e0ff9574ed608c8a3d77ade
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 6 Sep 2020 11:57:11 +0000 (13:57 +0200)]
Slightly generalize ginkgo params
Change-Id: I51b013056bb5b88ef2e1de31e9171129e8ce4475
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 6 Sep 2020 11:28:05 +0000 (13:28 +0200)]
Publish k8s_quick as proposed by sonobuoy
https://github.com/vmware-tanzu/sonobuoy
Change-Id: I7b1777cf7bc0d6cd04ea5cccc08b7c29887ae874
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 6 Sep 2020 10:02:07 +0000 (12:02 +0200)]
Conform with latest sonubuoy's non disruptive list
https://github.com/vmware-tanzu/sonobuoy/blob/master/pkg/client/mode.go#L43
Change-Id: Ie6c331168e1186b33c4cabda6744e1bb2c6346a0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 6 Sep 2020 08:34:06 +0000 (10:34 +0200)]
Update Xtesting to 0.91.0
Change-Id: I384478ec9a0926b168f2372c8007b3eceeadb6da
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 4 Sep 2020 19:24:55 +0000 (21:24 +0200)]
Allow skipping arm and arm64 if cnf-conformance
cnf-conformance doesn't support this architectures.
It also improve cleaning to publish artifacts [1].
[1] https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-cnf-latest-cnf_conformance-run/2/console
Change-Id: Ie64e4a1b8b496a050a1798eaf4e5ef6397c011d0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 2 Sep 2020 17:46:25 +0000 (19:46 +0200)]
Add cnf-conformance in functest-kubernetes-cnf
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>
Cédric Ollivier [Sun, 30 Aug 2020 11:39:42 +0000 (13:39 +0200)]
Increase cassandra timeouts
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>
Cédric Ollivier [Sun, 23 Aug 2020 02:53:16 +0000 (04:53 +0200)]
Stop pushing all details in Test DB
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>
Cédric Ollivier [Sun, 23 Aug 2020 02:37:08 +0000 (04:37 +0200)]
Set output logs in Rally testcases
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>
Cédric Ollivier [Sun, 23 Aug 2020 02:26:02 +0000 (04:26 +0200)]
Fix kube-hunter command
https://github.com/aquasecurity/kube-hunter/commit/
3e06647b4c09257cb994bbdd174ee621e2af5406
Change-Id: Idf470f0161aaeb7a326a3e2a4e680445d9f00eac
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 22 Aug 2020 16:41:38 +0000 (18:41 +0200)]
Fix last hardcoded concurrencies
Change-Id: Ib2b7bb6de8cd6524fcc52baf48ebf5c4835c396b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 22 Aug 2020 14:36:19 +0000 (16:36 +0200)]
Add xrally_kubernetes_full
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>
Cedric Ollivier [Tue, 18 Aug 2020 07:56:39 +0000 (07:56 +0000)]
Merge "Add tempo waiting for ellis account"
Cédric Ollivier [Mon, 17 Aug 2020 19:26:16 +0000 (21:26 +0200)]
Add tempo waiting for ellis account
Change-Id: I63c6af9d0e20aab426e7f875cdb4f86d206f49aa
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 13 Aug 2020 23:04:04 +0000 (01:04 +0200)]
Safely decode e2e.test output
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>
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>