functest-kubernetes.git
3 years agoSlightly generalize ginkgo params 82/70982/1
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>
(cherry picked from commit 0ec2aa15acbe7cd2b28d772165c22481b85bad79)

3 years agoPublish k8s_quick as proposed by sonobuoy 77/70977/1
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>
(cherry picked from commit 711d9f1d875816386fd4afeb2e79f8d2de47b036)

3 years agoUpdate Xtesting to 0.91.0 69/70969/1
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>
(cherry picked from commit b198dcede7578b1c3bf688cd47cc0590dd8d6d14)

3 years agoAllow skipping arm and arm64 if cnf-conformance 26/70926/1
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>
(cherry picked from commit 2cf6903c9a805b9c1b7702292bdf33b9485be319)

3 years agoAdd cnf-conformance in functest-kubernetes-cnf 25/70925/1
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>
(cherry picked from commit 120daffd8d6d4be727d2ba52a76dbd8eacfe2628)

3 years agoIncrease cassandra timeouts 01/70901/1
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>
(cherry picked from commit e236b0f56f748c888df23eeaf65478967ad852f1)

3 years agoStop pushing all details in Test DB 68/70868/1
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>
(cherry picked from commit 1f720b0fabbcf162366160a4fa9a46807e53f8bc)

3 years agoSet output logs in Rally testcases 63/70863/2
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>
(cherry picked from commit 42c2bbed87779218a8fe43c4c5c3012c64bec17b)

3 years agoFix last hardcoded concurrencies 55/70855/1
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>
(cherry picked from commit 8a8f6eafc3c6268a3663852f7de8f0cc4c39b817)

3 years agoAdd xrally_kubernetes_full 50/70850/2
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>
(cherry picked from commit a0f76d884c1f13c27e906136d3418f12b5342fc4)

3 years agoAdd tempo waiting for ellis account 23/70823/1
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>
(cherry picked from commit 3c7965bb37590eae9e968a530eaaa690ada903f2)

3 years agoSafely decode e2e.test output 82/70782/2
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>
(cherry picked from commit 64771ca4e6965c81aa2922c7efc44e4f7a38a610)

3 years agoCompile K8s testing binaries 01/70801/1
Cédric Ollivier [Sun, 16 Aug 2020 12:37:56 +0000 (14:37 +0200)]
Compile K8s testing binaries

We can't leverage on official testing binaries for this old release.

Change-Id: Ia4165a30739fe8220c90c6ff3f437350eb3ead66
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoLeverage alpine rather than golang 00/70800/1
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>
(cherry picked from commit 1af6a5dc4ec8e087613275e912c819ea1d0aecbc)

3 years agoFix arm -> arm64 96/70796/1
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>
(cherry picked from commit aa3d694b2c288521b6e3f96ea020a3ac485d4d14)

3 years agoStop compiling K8s testing binaries 91/70791/1
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>
(cherry picked from commit 6801612e85c485e9885cfb41cbc84771475a134f)

3 years agoPin latest versions from security tools 83/70783/2
Cédric Ollivier [Fri, 14 Aug 2020 09:32:07 +0000 (11:32 +0200)]
Pin latest versions from security tools

It selects kube-bench and kube-hunter 0.3.1.

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

3 years agoConform with Functest pylint config 73/70773/1
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>
(cherry picked from commit 9cd357b94e7bdb7b8cce73a2666a7547e2a5d7c8)

3 years agoMerge "Make K8s_vims namespace aware" into stable/hunter
Cedric Ollivier [Thu, 13 Aug 2020 15:17:07 +0000 (15:17 +0000)]
Merge "Make K8s_vims namespace aware" into stable/hunter

3 years agoMerge "Ease modifying the test list in E2E testing" into stable/hunter
Cedric Ollivier [Thu, 13 Aug 2020 15:17:02 +0000 (15:17 +0000)]
Merge "Ease modifying the test list in E2E testing" into stable/hunter

3 years agoEase modifying the test list in E2E testing 63/70763/3
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>
(cherry picked from commit a22553a65d6019350c215c9024c9dc54cf77dc7c)

3 years agoMake K8s security tests namespace aware 68/70768/1
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>
(cherry picked from commit 8e2a7dbee8f134dbe9022683d40e2328e5e50fe6)

3 years agoMake K8s_vims namespace aware 58/70758/2
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>
(cherry picked from commit 019101492b51aa74412265cd99ba1a9e27a3de8c)

3 years agoFix sed if arm in build.sh 48/70748/1
Cédric Ollivier [Tue, 11 Aug 2020 20:47:19 +0000 (22:47 +0200)]
Fix sed if arm in build.sh

Change-Id: I2fbba9004886c72b4213e7b69bac8374af77a5ab
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoRemove GOFLAGS in Dockerfile 47/70747/1
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>
(cherry picked from commit fac999583784f6e3b2c64294f2347fdf8a7a64f0)

3 years agoRemove useless repo in site.yaml 35/70735/1
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>
(cherry picked from commit 07f59c24077e3d7906371eb2f8e2ec6458c2ff85)

3 years agoTake latest test cases into account 34/70734/1
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>
(cherry picked from commit adaa8ba5907040fdd8198d3fb801256021514dd5)

3 years agoStop building smoke if arm and arm64 33/70733/1
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>
(cherry picked from commit 1cdb84efbb57d3bd45d13cf9941ccd93aeef9d6f)

3 years agoDon't build arm containers on TravisCI 32/70732/1
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>
(cherry picked from commit e4704c75d6beca998c388b60c57580d2918a89d1)

3 years agoCompile all Functest K8s containers for arm v7 and v8 31/70731/1
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>
(cherry picked from commit 3c4543a8ef6f84a5f25483a6dfe50e0075a9cd0e)

3 years agoBoot Ellis once homestead-depl is ready 21/70521/1
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>
(cherry picked from commit 5bc18405d75e9d765cd707ff9a98c3553de4b0dd)

3 years agoFix phase conditions 14/70514/1
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>
(cherry picked from commit 83d3161c52c8cc8d9e4f52d7a693bbcc32508379)

3 years agoOverride the right log files 12/70512/1
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>
(cherry picked from commit 36039d940f473d7385d918375390e804b626bad2)

3 years agoImprove vIMS service order 07/70507/1
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>
(cherry picked from commit f7b45c10ef78a96f33568d2480ca79efbbd72505)

3 years agoRemove energy from logging configs 01/70501/1
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>
(cherry picked from commit 62b861884f55815e00b24f3aca6acb95e0f804b9)
(cherry picked from commit 7af22940370f94002cbdd0aa6393bb8f3de2a8b2)

3 years agoPublish debug logging config 00/70500/1
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>
(cherry picked from commit 7168abb7509750ece58fa501a56a8b1ebad2dbf8)

3 years agoManage Ims service dependencies 91/70491/1
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>
(cherry picked from commit 68b2a9ac43003840ae0b88bf3b2cd6c1fc10db21)

3 years agoUpdate Rally patch (py27) 81/70481/1
Cédric Ollivier [Mon, 6 Jul 2020 11:59:28 +0000 (13:59 +0200)]
Update Rally patch (py27)

Change-Id: I4e50ca32869280843e8b6a1146dd5fdb3ccad22e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoApply Rally patch (switch to threading for tasks) 79/70479/1
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>
(cherry picked from commit bfd0063c81f5d5d4fad2389832c8f1479a28f73d)
(cherry picked from commit fbac166c0010ac15835ba37260b94e3c705e339d)

3 years agoTry a quick fix vs the race conditions in xrally 78/70478/1
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>
(cherry picked from commit 81139b1576981990f32df76719f179441e4d12ee)
(cherry picked from commit 2a2744f1e612a1ed0a38cadd2b49100613da70d6)

3 years agoRemove Kubernetes.create_check_and_delete_daemonset 77/70477/1
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>
(cherry picked from commit efee842caa2585c2174c9b780ea1d33f69c69f2e)
(cherry picked from commit 90d2fe1fb88bbe963e7c242f2b6b74fb68ab0c67)

3 years agoCorrectly override dir_results and res_dir in rally_kubernetes 76/70476/1
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>
(cherry picked from commit 004d28383111d344aeb82ba9080c7c015970c9bb)
(cherry picked from commit cad10e2f00034a283a318e4e0fdf271d0ff2e32a)

3 years agoAdd a new testcase leveraging on xrally/kubernetes 75/70475/1
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>
(cherry picked from commit 413b52a98a359094dbc251749c04d2789e0ab24c)

3 years agoUse shallow copy - copy() is py3 only 67/70467/1
Cédric Ollivier [Sun, 5 Jul 2020 09:33:01 +0000 (11:33 +0200)]
Use shallow copy - copy() is py3 only

Change-Id: Ib470c4ddd36f4b522915e6e131f1b16aee268d15
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoFix CNF Docker parent 65/70465/1
Cédric Ollivier [Sun, 5 Jul 2020 07:35:30 +0000 (09:35 +0200)]
Fix CNF Docker parent

Change-Id: Ieecc4298bc1861d123163d1ca48ef4a6ba045d0c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoFix former pep8 issues 62/70462/2
Cédric Ollivier [Fri, 3 Jul 2020 18:05:34 +0000 (20:05 +0200)]
Fix former pep8 issues

It's allowed by the newer version

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

3 years agoImprove Ims coding 61/70461/1
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>
(cherry picked from commit dbe25c73b976a8a3d9b5c10dc92b8c9a17c68baa)
(cherry picked from commit b1acb9c247f09b6c6e29442c4d8e067d6e4a3c10)

3 years agoDeploy Clearwater IMS using Kubernetes 60/70460/1
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>
(cherry picked from commit 080d2414682d5fecea8c01640e2e5971278fe19d)
(cherry picked from commit d56ecab65904d9a190f378262ad9bff48358a40e)

3 years agoFix project name in security's testcases.yaml 26/70426/1
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>
(cherry picked from commit 2649efe3166ec1525f825bf21b63e6eb53aaaac6)

3 years agoAdd security docker for functest-kubernetes 25/70425/1
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>
(cherry picked from commit 98d9f93337ab514fa9aafc1cd1e87473de68b364)
(cherry picked from commit 0626f54b8686134515eab3b9014c5b538405d84f)
(cherry picked from commit a7191389900b58f50e428af47e6819f30ba07d8f)

3 years agoRemove OPNFV Features from Functest site.yml 14/70414/1
Cédric Ollivier [Wed, 1 Jul 2020 07:22:12 +0000 (09:22 +0200)]
Remove OPNFV Features from Functest site.yml

They are neither maintained nor developped by Functest.

Change-Id: Ib32a36bef9ade051d49edc0868ea88c83cc38f1b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoRemove cache dir and force /src as src dst dir 06/70306/1
Cédric Ollivier [Mon, 8 Jun 2020 08:21:59 +0000 (10:21 +0200)]
Remove cache dir and force /src as src dst dir

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

4 years agoSwitch to deadsnakes/ppa 22/70122/1
Cédric Ollivier [Sat, 2 May 2020 15:03:16 +0000 (17:03 +0200)]
Switch to deadsnakes/ppa

https://travis-ci.org/github/collivier/functest-kubernetes/jobs/682053007

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

4 years agoDisable perm check 17/70117/1
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>
(cherry picked from commit 6099914e9832592ac63f0d3505ea3466eb13117d)

4 years agoUpdate to K8S_TAG v1.13.12 47/69347/1
Cédric Ollivier [Sat, 14 Dec 2019 12:06:39 +0000 (13:06 +0100)]
Update to K8S_TAG v1.13.12

It updates to the latest K8s v1.13 version.

Change-Id: I02966fe1f4eeeccdb1e1d71045596096a22f2c4a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoDisable false ansiblelint warnings 84/69284/1
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].
it also fixes Functest branch

[1] https://github.com/ansible/ansible/issues/50334

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

4 years agoUpdate package index before install packaging in CircleCI 23/69123/1
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>
(cherry picked from commit 6119abf09d3d5a98509619b650b054aca2edbceb)

4 years agoAdd mailcap in dependencies 16/68916/1
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>
(cherry picked from commit bee77a2c2c6571c622a8e533ed0b80cdb49302ea)

4 years agoCorrectly override dir_results and res_dir 04/68904/1
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>
(cherry picked from commit 63ef7413921dcd06d4bd15ae59a20da811cfe7d3)

4 years agoUpdate to Xtesting 0.82 50/68850/3
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>
(cherry picked from commit 63b56cf0740fd5e2e0b7b022e287b27ddb898dee)

4 years agoUpdate K8s to 1.13.11 13/68513/1
Cédric Ollivier [Fri, 20 Sep 2019 03:23:54 +0000 (05:23 +0200)]
Update K8s to 1.13.11

Change-Id: If97c5f21b0115803b75ee10ab5c85fc421d0faf2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoFix basepython (2.7) in perm 44/68344/1
Cédric Ollivier [Sun, 11 Aug 2019 12:17:56 +0000 (14:17 +0200)]
Fix basepython (2.7) in perm

It was falsy copied/pasted from master.

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

4 years agoRun Functest K8s unit tests via CircleCI 39/68339/1
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>
(cherry picked from commit 46a867f6d7aa73af6728fcf459ec76150103f5cb)

4 years agoUpdate Kubernetes to v1.13.8 08/68308/1
Cédric Ollivier [Sun, 4 Aug 2019 08:20:19 +0000 (10:20 +0200)]
Update Kubernetes to v1.13.8

Change-Id: Ib9693c99b2ebefd2dd8e6f30f5bcf4504e236edd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoRun perm in functest-kubernetes 07/68307/1
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>
(cherry picked from commit 7092ae97a37936ff0584e0845d9a87f4e5f86696)

4 years agoEnable py36 in gates 79/68279/1
Cédric Ollivier [Sat, 27 Jul 2019 15:13:20 +0000 (17:13 +0200)]
Enable py36 in gates

It also updates pylint.

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

4 years agoTurn bashate warnings into errors 16/68216/1
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>
(cherry picked from commit 424717dfd95388ff2ddc9fe929ac170689a78eca)

4 years agoRewrite kubernetes parsing 44/68144/4
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>
(cherry picked from commit d22f950cae95350ae0b0518ceefb3bcfc4f17009)

4 years agoDisable log dump 36/68136/2
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>
(cherry picked from commit d1d3feacdbf061cf4115ceeadcb71d2142971757)

4 years agoRemove useless ci_loop in testcase descriptions 35/68135/1
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>
(cherry picked from commit 5f2e455ae47f4fa3c5d6a441b052be1220fbfd9b)

4 years agoKeep kubernetes sources 10/68110/1
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>
(cherry picked from commit 8af877189e0c276a15717cf7dd9a0fe873214521)

4 years agoUpdate K8s to v1.13.7 30/68030/1
Cédric Ollivier [Sun, 9 Jun 2019 15:54:25 +0000 (17:54 +0200)]
Update K8s to v1.13.7

Change-Id: I2c62077284d5d250c236eb7a0d03725332fbbba4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRun bandit when verifying changes 45/67945/2
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>
(cherry picked from commit 11669ed5216c94f3420969aa5b31e0687af33f18)

5 years agoUpdate to Python3 25/67925/2
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>
(cherry picked from commit e38bb1ee4c2a5c2e03ad7af46631da37c5f189ba)

5 years agoSlightly improve tox.ini 86/67686/2
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>
(cherry picked from commit 54b194184e8bc36acf7399a1b460b0b7fa3db893)

5 years agoUpdate all OpenStack refs to opendev.org 57/67657/2
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>
(cherry picked from commit cfcf5d41cbf26a7fc5d0b07d9ca45d73538036d8)

5 years agoRun tox in .travis-ci 62/67562/1 opnfv-8.1.0
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>
(cherry picked from commit ea76aa99439bf2152b8cadd41e88594bf3b1314e)

5 years agoOnly set go major version in parent container 41/67441/1
Cédric Ollivier [Fri, 29 Mar 2019 07:51:08 +0000 (08:51 +0100)]
Only set go major version in parent container

It allows updating automatically the minor versions.

Change-Id: I25d3d315e533c1ba40f9eec36dc2eb9b81715eb2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate K8s to v1.13.5 28/67428/1
Cédric Ollivier [Thu, 28 Mar 2019 15:19:08 +0000 (16:19 +0100)]
Update K8s to v1.13.5

Change-Id: I85cbad22b9ed931aa8b536a101594b504eece2d4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoFix OPNFV_TAG in docker/core/Dockerfile 13/67413/1
Cédric Ollivier [Thu, 28 Mar 2019 06:36:10 +0000 (07:36 +0100)]
Fix OPNFV_TAG in docker/core/Dockerfile

Change-Id: I51afc1b892220d66c696981cd6684944b95838c1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoFix manifest-tool builds 69/67369/2
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>
(cherry picked from commit 6e32d47d1d3a9880c987dab50852c64ef763a364)

5 years agoSet db_project in ansible/site.yml 63/67363/1
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>
(cherry picked from commit 49cd5462ca60c03276546810d4fed3f0a0a93d3c)

5 years agoUpdate Alpine tag in build.sh and ansible/site.yml 55/67355/1
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>
(cherry picked from commit de031c014b89df8dad204a28f956fcace8e1091d)

5 years agoUpdate to Apine 3.9 54/67354/1
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>
(cherry picked from commit 443b83ef45b4b58b46dcf0c4a7e50e9d379547ff)

5 years agoPublish Junit files and fix Conformance regex 23/67223/1
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>
(cherry picked from commit fd130c880d4d185153efe3e3e0aa24c95052c320)

5 years agoUpdate K8s to v1.13.4 12/67212/1
Cédric Ollivier [Sat, 9 Mar 2019 14:08:56 +0000 (15:08 +0100)]
Update K8s to v1.13.4

Change-Id: I0167aa525f2e6a2521040e83c0c6f483bae16d92
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoStop writing in clusterapi-tester/pod.yaml 75/66675/1
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>
(cherry picked from commit 7cae747f327e78bd4a398b709eecd5f2c255e1fb)

5 years agoFix container names in ansible/site.yml 43/66543/1
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>
(cherry picked from commit 32c8765de95bc1d707f09f913641df82cd8c18a7)

5 years agoUpdate K8s to v1.13.2 35/66535/1
Cédric Ollivier [Sun, 20 Jan 2019 19:01:57 +0000 (20:01 +0100)]
Update K8s to v1.13.2

It's the current release.

Change-Id: Idfaa1014b804e783c4ff0ece2862154ffbee3896
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoFix BRANCH args in ansible.yml 67/66467/2
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>
(cherry picked from commit 0564f494fac437c511346a983eec3f21797a145f)

5 years agoSwitch from port to dport 07/66407/1
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>
(cherry picked from commit 187395660ac100135b64a20b79a778bc7d091296)

5 years agoRemove former ci jobs 81/66381/2
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>
(cherry picked from commit 0f39333c6f028d31d8b630e2a43809eb636d96eb)

5 years agoAdd Functest k8s gate jobs 25/66225/1
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>
(cherry picked from commit 98e7db309060a74d1d80103905e91fbe340375fd)

5 years agoAdd build dependencies 01/66101/1
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>
(cherry picked from commit 568b72f402f97c8c40336da84827ce1568c45fc1)

5 years agoVerify Ansible playbooks via ansible-lint 77/65977/1
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>
(cherry picked from commit 12fbaf7fa7592a2ef66b0362230a5a57b9052984)

5 years agoDeploy Functest Kubernetes CI toolchains 73/65973/1
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>
(cherry picked from commit c74710be00805d8f43059e5b752af0098767e701)

5 years agoMerge changes I9b371e44,I79c404d4 into stable/hunter opnfv-8.0.0
Cedric Ollivier [Tue, 30 Oct 2018 19:43:45 +0000 (19:43 +0000)]
Merge changes I9b371e44,I79c404d4 into stable/hunter

* changes:
  Prepare OPNFV functest releases
  Disable py36

5 years agoPrepare OPNFV functest releases 61/64261/2
Cédric Ollivier [Tue, 30 Oct 2018 19:31:31 +0000 (20:31 +0100)]
Prepare OPNFV functest releases

It sets version = 8 (hunter).

Change-Id: I9b371e444be9fc61b3d1dcaf41870795287f3fed
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoDisable py36 69/64269/1
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>
(cherry picked from commit f2d05e9c581df224d61c82f73ade348caaf6d301)

5 years agoTemporarily disable py36 65/63765/1
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>
(cherry picked from commit c36be538bccd465409baae6a96229ac5fd89a07a)