functest-kubernetes.git
6 months agoAllow building Functest Kubernetes Virtual Machines 24/74224/1 stable/v1.22
Cédric Ollivier [Fri, 20 Oct 2023 06:46:19 +0000 (08:46 +0200)]
Allow building Functest Kubernetes Virtual Machines

Change-Id: I0a18096fc10547423baf6282e3eb9f4d96cd8473
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 049f674dd8a1b0e16ba8b37df72f936d8d0f0e5b)

14 months agoFix url typo in README 74/73874/1
Cédric Ollivier [Thu, 2 Mar 2023 15:42:33 +0000 (16:42 +0100)]
Fix url typo in README

Co-authored-by Peter Pongracz <peter.1.pongracz@nokia.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Idd4c0fccae145ab5fd4a4dbb45346dd1d30de23b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit c99d1bc1af18ec3c717dd74faae962f0303dff1b)

15 months agoUpdate README.md 34/73834/1
Cédric Ollivier [Tue, 24 Jan 2023 14:34:15 +0000 (15:34 +0100)]
Update README.md

It take latest updates into account.

Change-Id: I0a6af492c99cb49c326734c061b7934ea7a12127
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 142bc4a751bf5568cd0bb13c8550959f9a0b83c2)

15 months agoFix letter is lowercase in repositories.yml 22/73822/1
Cédric Ollivier [Mon, 23 Jan 2023 10:05:31 +0000 (11:05 +0100)]
Fix letter is lowercase in repositories.yml

Co-authored-by: Peter Pongracz <peter.1.pongracz@nokia.com>
Change-Id: I78be8192239cad58b25449c106da3e1f558bf13b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit d17ec335dc198c17e0bf167350f154ec64876d58)

18 months agoUse Path.home() instead of ~ 95/73595/1
Cédric Ollivier [Fri, 21 Oct 2022 15:21:54 +0000 (17:21 +0200)]
Use Path.home() instead of ~

Change-Id: I5863f4e0315b67a07dab4756857dba7aa37932f0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit d744fb5276d47fb3ba7ad2d4cb1fb2d3bfaca3eb)

18 months agoStop hardcoding KUBECONFIG 89/73589/1
Cédric Ollivier [Fri, 21 Oct 2022 13:52:10 +0000 (15:52 +0200)]
Stop hardcoding KUBECONFIG

Change-Id: I6ac15eb3686d6502dfa1bbe179622693b1961f45
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit abcc9aa9e57a8af8e4479f897a77c22b16324f6a)

18 months agoUpdate release tabs 62/73562/1
Cédric Ollivier [Thu, 20 Oct 2022 08:34:58 +0000 (10:34 +0200)]
Update release tabs

It takes latest releases into account

Change-Id: Idd27a9e3df8d58c41417e7b9ca60d679fb0c4ebd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
19 months agoUninstall falco and cri_tools after testing 40/73540/1
Cédric Ollivier [Mon, 10 Oct 2022 11:15:43 +0000 (13:15 +0200)]
Uninstall falco and cri_tools after testing

Functest runs several clusters in the same server.
It quickly failes if falco is still running (dkms
tries to unload the module which is in-use).

Change-Id: I13b596a78ac40064cbed1aead8c785cc1cfc8626
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 334cdea22b2c47c75523399ed3ebfa08f105e57c)

19 months agoEnforce container-runtime remote if unset 25/73525/1
Cédric Ollivier [Wed, 5 Oct 2022 09:21:49 +0000 (11:21 +0200)]
Enforce container-runtime remote if unset

It was set by Jenkins by the past.
Remote as default value prevents the following issues:

[Fail] [sig-node] RuntimeClass [It] should run a Pod requesting a RuntimeClass with scheduling without taints
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/node/runtimeclass.go:157

Change-Id: I5bd11b50053e5bc3e7fb04a864a4e7fe29826bc1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoOutdated need to install python2.7-dev in CircleCI 72/73172/1
Cédric Ollivier [Tue, 11 Jan 2022 13:30:36 +0000 (14:30 +0100)]
Outdated need to install python2.7-dev in CircleCI

Change-Id: I6e25c16659f4a5653afbf9ed66d809cb638bce65
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit bdc882d05a70ec60fa6a4c9f8122ec29cae3f407)

2 years agoSet defaut provider to local back 47/72947/1
Cédric Ollivier [Tue, 5 Oct 2021 10:05:08 +0000 (12:05 +0200)]
Set defaut provider to local back

It apply the same rules as sonuoboy.
Any user is free to set skeleton or something else via testcases.yml.

Change-Id: Id999dfd5fbcf9bde9430e0f35c63c41e80c8044f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit b100b1254e06719bf1c779b9d53d0ac2da67fca4)

2 years agoSet encoding utf-8 when opening file 10/72910/2
Cédric Ollivier [Sat, 11 Sep 2021 08:24:53 +0000 (10:24 +0200)]
Set encoding utf-8 when opening file

Change-Id: I4e756552173247499ba882bfee4fbe8738fbae3d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 5a565816e30dcb5aefb2feb33acce7ef7a457cc0)

2 years agoFallback to item calculation 03/72903/1
Cédric Ollivier [Fri, 10 Sep 2021 15:59:25 +0000 (17:59 +0200)]
Fallback to item calculation

There is no final result if simple tag is called.

Change-Id: If86c5115e917e5790799fac4308cf08d57e87905
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit e2f255aaaddeb0b7bebd7a158b535aa0ecdf55e0)

2 years agoUpdate CNF_TESTSUITE_TAG to v0.15.0 02/72902/1
Cédric Ollivier [Fri, 10 Sep 2021 14:42:36 +0000 (16:42 +0200)]
Update CNF_TESTSUITE_TAG to v0.15.0

Change-Id: Icf13d49ec3c4fd65b0d089714728d67813633e49
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit fbd14c587ba477b7c9e3dcadabb295edbcc6ffbb)

2 years agoRemove sig_network_serial 65/72865/1
Cédric Ollivier [Thu, 26 Aug 2021 14:12:37 +0000 (16:12 +0200)]
Remove sig_network_serial

PerformanceDNS is now optional [1] and DNS configMap nameserver makes
operations on coredns which would break an living deployment [2].

sig_network_serial is now enpty and then can be safely removed.

[1] https://github.com/cntt-n/CNTT/pull/2580
[2] https://github.com/kubernetes/kubernetes/blob/c262d09bb7d22d62665aa215b5c6d1dd2a865007/test/e2e/network/dns_common.go#L238

Change-Id: I525cf894699a1d56f0b3cbb8e630d40ea3549b51
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 775135dd1ef01ab50a22846067bfdd87903f836e)

2 years agoRemove SIG CLI testing 56/72856/1
Cédric Ollivier [Thu, 26 Aug 2021 08:02:06 +0000 (10:02 +0200)]
Remove SIG CLI testing

It conforms to https://github.com/cntt-n/CNTT/pull/2579

Change-Id: Ic5d6e6914fc34e8a5de9403c1b72ad251d97d759
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 0a68c0cb77c6d9967e5e33e59a737ef686b2e916)

2 years agoUpdate v1.22's README 47/72847/1
Cédric Ollivier [Fri, 20 Aug 2021 13:10:54 +0000 (15:10 +0200)]
Update v1.22's README

Change-Id: I512dcd8d641c9b6d63071fde1485fe9080f172bb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoTake v1.22 into account 46/72846/1
Cédric Ollivier [Fri, 20 Aug 2021 10:18:25 +0000 (12:18 +0200)]
Take v1.22 into account

Change-Id: Iec601131e41bf3e9c6c5b2e381dc9089d545bca8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoSet defaultbranch in .gitreview 45/72845/1
Cédric Ollivier [Fri, 20 Aug 2021 10:09:41 +0000 (12:09 +0200)]
Set defaultbranch in .gitreview

Change-Id: Iddee2418b3bbc526f20891b810fdae20d6320851
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoFix py site-package path 40/72840/1
Cédric Ollivier [Thu, 19 Aug 2021 14:41:11 +0000 (16:41 +0200)]
Fix py site-package path

Change-Id: Iab3ece39fa8cf1c5e0f62100e14b9fa2f5e3298a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoUpdate to Alpine 3.14 11/72811/3
Cédric Ollivier [Wed, 11 Aug 2021 13:56:12 +0000 (15:56 +0200)]
Update to Alpine 3.14

It also disabled wrong order check as it fails vs kubernetes amongst
others.

[1] https://github.com/PyCQA/pylint/issues/2175

Change-Id: I3d641c213067428848212a148d25d78051c5674f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoSkip git_repo testing 69/72769/1
Cédric Ollivier [Fri, 9 Jul 2021 12:14:54 +0000 (14:14 +0200)]
Skip git_repo testing

As discussed in Kind [1], this test is for the deprecated in-tree GitRepo volume type.
"we shouldn't expend resources on these volume types".

[1] https://github.com/kubernetes-sigs/kind/issues/2356
[2] https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-smoke-latest-sig_storage_serial-run/16/console

Change-Id: I9951f49208376652e8d580b3086f72994424cf80
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoPrint cnf_testsuite console on exceptions 61/72761/1
Cédric Ollivier [Wed, 7 Jul 2021 13:23:36 +0000 (15:23 +0200)]
Print cnf_testsuite console on exceptions

Change-Id: I3c20993e1cbb644546ac89a8b4b7d1cfd98b0a80
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoRemove k8s.io from ansible/site.yml 10/72710/1
Cédric Ollivier [Fri, 25 Jun 2021 16:02:51 +0000 (18:02 +0200)]
Remove k8s.io from ansible/site.yml

It's now up-to-date.
It also fixes ansible/site.cntt.yml

Change-Id: I2e3ad76f4b0f0064b8ce75ed6718eff6466c649f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoMake clear all skipped Features according to CNTT RA2 Chapter6 93/72693/1
Cédric Ollivier [Sun, 20 Jun 2021 11:51:43 +0000 (13:51 +0200)]
Make clear all skipped Features according to CNTT RA2 Chapter6

Change-Id: I57d414902e973d7bcbb67ba12d10b727b2ec4785
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoAllow passing extra opts to e2e.test 89/72689/1
Cédric Ollivier [Sun, 20 Jun 2021 09:59:37 +0000 (11:59 +0200)]
Allow passing extra opts to e2e.test

E2E_TEST_OPTS now allows setting runtime opts.
For instance, Functest K8s gates ask for -container-runtime containerd

Change-Id: I4f6e1caf57590b16d0c01324dadb040f67f3cee4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoRemove distlib from constraints 59/72659/1
Cédric Ollivier [Thu, 10 Jun 2021 12:10:30 +0000 (14:10 +0200)]
Remove distlib from constraints

Else it fails when uninstalling distlib.
https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-core-latest-build/48/console

Change-Id: I2e3a3f91c74182e9567f691117ca8754ae2583b6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoAdd enchant in travis-ci 85/72585/1
Cédric Ollivier [Wed, 26 May 2021 14:50:09 +0000 (16:50 +0200)]
Add enchant in travis-ci

Change-Id: I96c59f943ee58dec60b3a9376673c5a69c66747f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoSwitch to focal in travis-ci gates 78/72578/1
Cédric Ollivier [Tue, 25 May 2021 14:16:47 +0000 (16:16 +0200)]
Switch to focal in travis-ci gates

Change-Id: Ifcd3f1df7116dc665bf8d3316ce2bc03e2db8c5d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoRemove six from Openstack requirements 64/72564/1
Cédric Ollivier [Tue, 25 May 2021 08:59:19 +0000 (10:59 +0200)]
Remove six from Openstack requirements

  Attempting uninstall: six
    Found existing installation: six 1.15.0
[91mERROR: Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

https://github.com/openstack/requirements/blob/master/upper-constraints.txt#L445

Change-Id: Iaefff9653ea9d3ac06b881328c545367a9a02244
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoUpdate cnf_testsuite to v0.11.2 63/72563/1
Cédric Ollivier [Tue, 25 May 2021 04:54:22 +0000 (06:54 +0200)]
Update cnf_testsuite to v0.11.2

https://github.com/cncf/cnf-testsuite/releases/tag/v0.11.2

Change-Id: Id3a5ea98260859f7fe5aba6ecf02d09905610dda
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoEasy creating next netperf branches 99/72499/1
Cédric Ollivier [Mon, 10 May 2021 12:05:52 +0000 (14:05 +0200)]
Easy creating next netperf branches

Change-Id: If3de6a18b7edd811157cb093434a7128617475d1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoPublish patch for plotperf 90/72490/1
Cédric Ollivier [Sun, 9 May 2021 17:26:36 +0000 (19:26 +0200)]
Publish patch for plotperf

Change-Id: I34ff9f121fa52667a62b33f596639d6f9bff1650
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoBenchmark Kubernetes Networking Performance 89/72489/1
Cédric Ollivier [Sun, 9 May 2021 15:15:33 +0000 (17:15 +0200)]
Benchmark Kubernetes Networking Performance

https://github.com/kubernetes/perf-tests/tree/master/network/benchmarks/netperf

Change-Id: I6facd567f1c52c5949b53484a1fb107dcf34d622
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoUpdate test case results in README 85/72485/1
Cédric Ollivier [Wed, 5 May 2021 09:24:29 +0000 (11:24 +0200)]
Update test case results in README

Change-Id: Ifbcb56c690dde66d35ef772a2c680c60354a58ae
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoDisable cnf_testsuite in master 84/72484/1
Cédric Ollivier [Fri, 7 May 2021 07:47:38 +0000 (09:47 +0200)]
Disable cnf_testsuite in master

cnf_testsuite asks for an official stable Kubernetes release
during cnf setup. It doesn't work defacto for Functest K8s master
(currently next v1.22).

Change-Id: I7d81e069f0a5539cd027ffed80fa3c9d3b32bd21
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoUpdate skip Feature lists 81/72481/1
Cédric Ollivier [Wed, 5 May 2021 07:02:12 +0000 (09:02 +0200)]
Update skip Feature lists

Change-Id: I0959d04b95972e84cb2816c293b18b96b3bd607f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoFix cnf-conformance results filename 70/72470/1
Cédric Ollivier [Mon, 3 May 2021 14:03:08 +0000 (16:03 +0200)]
Fix cnf-conformance results filename

It also decreases criteria to 1 due to massive changes (dockerd).

Change-Id: Ic420139e6355debae183a77d6b0c574801b05076
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoUpdate cnf-conformance to cnf-testsuite 62/72462/1
Cédric Ollivier [Mon, 3 May 2021 07:32:59 +0000 (09:32 +0200)]
Update cnf-conformance to cnf-testsuite

https://github.com/cncf/cnf-conformance
https://github.com/cncf/cnf-testsuite

Change-Id: I77983e0f04781a92b34afcf82f21366384782964
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoReduce number of threads 61/72461/1
Cédric Ollivier [Mon, 3 May 2021 07:33:44 +0000 (09:33 +0200)]
Reduce number of threads

It passed successfully with 10 threads (more doesn't reduce the
overall duration so much).

Change-Id: I9013897883a40ebaf699c9a180f1bc8a6a34505c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoUpdate master to next 1.22 56/72456/1
Cédric Ollivier [Sat, 1 May 2021 14:13:44 +0000 (16:13 +0200)]
Update master to next 1.22

Change-Id: I29a514bc1e510858f33b7babbc5ac64373517ab1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoMock os.makedirs 20/72420/4
Cédric Ollivier [Tue, 20 Apr 2021 15:19:06 +0000 (17:19 +0200)]
Mock os.makedirs

Change-Id: I5f9fd24421727cea474715f502670ae6f2c80b76
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoInstall setuptools_scm before xrally 18/72418/1
Cédric Ollivier [Tue, 20 Apr 2021 12:30:56 +0000 (14:30 +0200)]
Install setuptools_scm before xrally

Else upper-constraints basically fails.

Change-Id: I022f101e2ed44708afd0b88d47b77d2f7ca85458
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 75170fc0b528c7e182b8164d5905fcbaa6957faa)

3 years agoSkip Network.should.set.TCP.CLOSE_WAIT.timeout 75/72375/1
Cédric Ollivier [Wed, 14 Apr 2021 22:00:33 +0000 (00:00 +0200)]
Skip Network.should.set.TCP.CLOSE_WAIT.timeout

https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes/sig-release/release-branch-jobs/1.21.yaml

Change-Id: I9d8065fe84d3f6f5e74bf9b46bc8c85ad985c8b1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoRemove sig_node_serial as it's fully disruptive 69/72369/2
Cédric Ollivier [Wed, 14 Apr 2021 13:29:23 +0000 (15:29 +0200)]
Remove sig_node_serial as it's fully disruptive

There is no other test when NoExecuteTaintManager is skipped.
http://artifacts.opnfv.org/functest-kubernetes/T94WVHSMW8ZH/functest-kubernetes-opnfv-functest-kubernetes-smoke-kali-sig_scheduling_serial-run-6/sig_scheduling_serial/e2e.log

Change-Id: I09a81ec973b26fc6de32df6788e73c7e529ecbf0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoRun Feature:Networking-IPv6 Feature:IPv6DualStackAlphaFeature 49/72349/1
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>
3 years agoRemove [k8s.io] testing 48/72348/1
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>
3 years agoSwitch to latest-1.21 45/72345/1
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>
3 years agoUpdate test case list 41/72341/1
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>
3 years agoAdd k8s_io and serial test cases 37/72337/1
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>
3 years agoMerge sig_network_features in sig_network 33/72333/2
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>
3 years agoSpit conformance into 2 test cases 29/72329/2
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>
3 years agoFix etcd image repository in etcd-depl.yaml 24/72324/1
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>
3 years agoFix name in chronos-depl.yaml 18/72318/1
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>
3 years agoRun opnfv/functest-kubernetes-smoke sequentially 17/72317/1
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>
3 years agoProperly manage e2e parallel testing 04/72304/1
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>
3 years agoRather use skeleton instead of local 03/72303/1
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>
3 years agoDisable sig_scheduling as serial 98/72298/1
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>
3 years agoRemove the useless Feature prefix 71/72271/1
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>
3 years agoMerge "Exlude Serial and Feature:Feature:StorageVersionAPI"
Cedric Ollivier [Thu, 25 Mar 2021 12:01:01 +0000 (12:01 +0000)]
Merge "Exlude Serial and Feature:Feature:StorageVersionAPI"

3 years agoMerge "Blacklist all alpha testing"
Cedric Ollivier [Thu, 25 Mar 2021 12:00:55 +0000 (12:00 +0000)]
Merge "Blacklist all alpha testing"

3 years agoExlude Serial and Feature:Feature:StorageVersionAPI 70/72270/2
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>
3 years agoBlacklist all alpha testing 69/72269/1
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>
3 years ago Provide support for air gapped env for e2e 63/72263/7
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

3 years agoProvide support for air gapped env for ims 62/72262/8
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

3 years agoProvide support for air gapped env for security 61/72261/2
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

3 years agoAdd missing blackslashing 45/72245/1
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>
3 years agoAdd sig_node 41/72241/1
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>
3 years agoAdd sig_cluster_lifecycle 26/72226/1
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>
3 years agoAdd sig_instrumentation 25/72225/1
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>
3 years agoAdd sig_scheduling 24/72224/1
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>
3 years agoAdd sig_cli 23/72223/1
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>
3 years agoAdd sig-apps 22/72222/1
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>
3 years agoAdd sig-auth 21/72221/1
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>
3 years agoAdd sig-api-machinery 20/72220/1
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>
3 years agoProvide support for air gapped env for rally 62/72162/4
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

3 years agoFix k8s.gcr.io/etcd tag (3.4.13-0) 57/72157/1
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>
3 years agonit: highlight the release 89/72089/1
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>
3 years agoMove former wiki to README.md 87/72087/1
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>
3 years agoAdd Cargo as build dev 79/71979/1
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>
3 years agoForce legacy pip resolver 78/71978/1
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>
3 years agoFix alpine version 56/71956/1
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>
3 years agoUpgrade system first 50/71950/1
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>
3 years agoAllow parameterizing K8s versions 45/71845/1
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>
3 years agoRename sig_network_feature -> sig_network_features 00/71800/2
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>
3 years agoExport GINKGO_PARALLEL=y 97/71797/2
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>
3 years agoRun rally first 96/71796/1
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>
3 years agoAdd sig-storage 95/71795/1
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>
3 years agoAdd sig_network 94/71794/1
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>
3 years agoAdd sig_network_feature 93/71793/1
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>
3 years agoUpdate to alpine:3.13 90/71790/1
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>
3 years agoUpdate cnf-conformance to v0.9.19 72/71772/1
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>
3 years agoSwitch to latest (v1.21.0-alpha.0) 70/71770/1
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>
3 years agoUpdate to latest Kubernetes release 44/71744/1
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>
3 years agoUse pip==20.2.4 in tox venv 36/71736/1
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>
3 years agoSync with xrally_kubernetes 30/71530/1
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>
3 years agoAllow offline testing via xrally_kubernetes 54/71454/3
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>
3 years agoReduce cnf-conformance criteria 48/71448/1
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>
3 years agoUpdate cnf_conformance to v0.9.4 41/71441/2
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>
3 years agoSkip cnf_conformance till helm repos are fixed 33/71433/1
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>