functest-kubernetes.git
6 years agoDisable OPNFV Features 89/62289/1
Cédric Ollivier [Thu, 13 Sep 2018 20:10:37 +0000 (22:10 +0200)]
Disable OPNFV Features

From the time being, none is synced to OPNFV hunter or newer.

Change-Id: If8a39bd185d1b7d396ea61bfebca2416b9bd5566
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge changes I2b52f659,I894bb969
Cedric Ollivier [Thu, 13 Sep 2018 08:19:34 +0000 (08:19 +0000)]
Merge changes I2b52f659,I894bb969

* changes:
  Add OpenStack constraints
  Update to OpenStack master

6 years agoAdd OpenStack constraints 03/62203/1
Cédric Ollivier [Thu, 13 Sep 2018 07:42:37 +0000 (09:42 +0200)]
Add OpenStack constraints

Change-Id: I2b52f6594629b171312caf25906b9e582613379b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate to OpenStack master 01/62201/1
Cédric Ollivier [Thu, 13 Sep 2018 07:41:19 +0000 (09:41 +0200)]
Update to OpenStack master

Change-Id: I894bb969d690537f6910b8cfcdb52162747121a6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdated from global requirements 87/62187/1
Cédric Ollivier [Thu, 13 Sep 2018 05:51:34 +0000 (07:51 +0200)]
Updated from global requirements

Change-Id: I218e6cc1813824bc0c03e3eec42b6efdd463d8c7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRewrite git clones 79/61779/1
Cédric Ollivier [Mon, 3 Sep 2018 18:54:58 +0000 (20:54 +0200)]
Rewrite git clones

Change-Id: I04c60b6c10ccd7b7e939002505e6e43e9c98eae7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate Xtesting to 0.60 25/61725/1
Cédric Ollivier [Sun, 2 Sep 2018 12:55:13 +0000 (14:55 +0200)]
Update Xtesting to 0.60

Xtesting leverages on stevedore [1] which will bring much more
flexibility (discovery, module or class renaming, etc).

OPNFV Features have to be updated as well:
  - https://gerrit.opnfv.org/gerrit/61719
  - https://gerrit.opnfv.org/gerrit/61723

[1] https://docs.openstack.org/stevedore/latest/

Change-Id: Ibe2a6ab3ddca92882aa4a26f140d2db28d77cb86
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate Kubernetes to v1.11.2 91/61691/5
Cédric Ollivier [Sat, 1 Sep 2018 19:48:32 +0000 (21:48 +0200)]
Update Kubernetes to v1.11.2

Change-Id: If674867a7dc488c64fc3f0cda530560b5d306416
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate to Alpine 3.8 95/61695/1
Cédric Ollivier [Sat, 1 Sep 2018 20:24:15 +0000 (22:24 +0200)]
Update to Alpine 3.8

https://alpinelinux.org/posts/Alpine-3.8.0-released.html

Change-Id: Ie9197f0cbc682d0c9a7cfee18b5ca6a27c466c89
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAvoid downloading git history 89/61689/1
Cédric Ollivier [Fri, 31 Aug 2018 14:04:37 +0000 (16:04 +0200)]
Avoid downloading git history

It decreases build duration because of kubernetes history.

Change-Id: I650c271e123b97e7350933b32d05b6b0781a79e9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFully remove kubernetes working dir 35/61635/1
Cédric Ollivier [Fri, 31 Aug 2018 09:54:36 +0000 (11:54 +0200)]
Fully remove kubernetes working dir

It hugely decreases the size of our containers.

Change-Id: I7bdc31645fb00c01e16855795bf99dd1b3b17dfd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoPublish daily and gating jjbs 93/61393/4
Cédric Ollivier [Mon, 20 Aug 2018 09:14:17 +0000 (11:14 +0200)]
Publish daily and gating jjbs

Change-Id: Ic7fd7bc9adf1672573878d6b74d43fa55e777be3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove useless env vars 11/61611/2
Cédric Ollivier [Thu, 30 Aug 2018 20:43:13 +0000 (22:43 +0200)]
Remove useless env vars

In OPNFV context, provider is always local.

Change-Id: Ieb51153bedfec34c0a3dfba9705b0b2afcebb8c2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove kubernetes/.git 09/61609/1
Cédric Ollivier [Thu, 30 Aug 2018 20:41:30 +0000 (22:41 +0200)]
Remove kubernetes/.git

Change-Id: Ib8ee11a51cd89cdb401b5d1781522fc0e3990f0e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Fix issue of error image when running healthcheck case on arm platform"
Cedric Ollivier [Sat, 25 Aug 2018 07:16:35 +0000 (07:16 +0000)]
Merge "Fix issue of error image when running healthcheck case on arm platform"

6 years agoFix issue of error image when running healthcheck case on arm platform 49/61249/3
Jingzhao Ni [Wed, 22 Aug 2018 13:57:36 +0000 (21:57 +0800)]
Fix issue of error image when running healthcheck case on arm platform

Replace the "amd64" with "arm64" in the pod.yaml when building
the healthcheck images.

Change-Id: I58b2d91ce1c74575becb77eee4c711623becd0fe
Signed-off-by: Jingzhao Ni <jingzhao.ni@arm.com>
6 years agoFix smoke/testcases.yaml 71/61271/1
Cédric Ollivier [Wed, 22 Aug 2018 21:37:06 +0000 (23:37 +0200)]
Fix smoke/testcases.yaml

https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-master/265/console

Change-Id: I83e98e678f931f8ac22f8dd5dfca8b2583874ff1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoConform with last Xtesting updates 09/61109/1
Cédric Ollivier [Mon, 20 Aug 2018 09:16:24 +0000 (11:16 +0200)]
Conform with last Xtesting updates

Change-Id: If22886c8e436203c9878d0e97aa1250493804bc5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd some build option in build.sh for supporting arm arch 31/61031/3
Jingzhao Ni [Fri, 17 Aug 2018 08:58:58 +0000 (16:58 +0800)]
Add some build option in build.sh for supporting arm arch

In build.sh, add some build options for arm arch.

It also updates constraints to OpenStack Queens.

Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I3cc6c10e2e52c281e2324d8b42b721383be30c0b
Signed-off-by: Jingzhao Ni <jingzhao.ni@arm.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix functest-k8s logging to log all k8s tests 95/57595/4
Konrad Djimeli [Sun, 20 May 2018 00:40:21 +0000 (01:40 +0100)]
Fix functest-k8s logging to log all k8s tests

JIRA: FUNCTEST-967

Change-Id: If4924a5c6d66dcbda48ac5ea80d67fcef11ba40a
Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com>
6 years agoUpdate logging to log Errors, when they occur 13/56613/4
Konrad Djimeli [Thu, 26 Apr 2018 07:40:17 +0000 (08:40 +0100)]
Update logging to log Errors, when they occur

Enable logging of errors which can occur due to
incorrect configfile, wrong KUBE_MASTER_URL or
KUBE_MASTER_IP etc.

Change-Id: I352ed0ab0376e9392d205decdc569bac6304ba27
Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com>
6 years agoCheck build.sh via bashate 13/56413/1
Cédric Ollivier [Tue, 24 Apr 2018 17:34:54 +0000 (19:34 +0200)]
Check build.sh via bashate

Change-Id: I367d87539ce25d9d114ee1f75b2f8af383408865
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove installer dependencies 11/56211/1
Cédric Ollivier [Sun, 22 Apr 2018 17:16:35 +0000 (19:16 +0200)]
Remove installer dependencies

They are useless as all scenarios are well defined.
It will allow running k8s testcases without defining INSTALLER_TYPE
as OpenStack and eases maintaining that files.

Change-Id: I6f9b0b5a8162e9db3ccc9155a9f88a97eda56f20
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Add ONS2018 functest-k8s meeting presentation"
Cedric Ollivier [Tue, 17 Apr 2018 18:52:01 +0000 (18:52 +0000)]
Merge "Add ONS2018 functest-k8s meeting presentation"

6 years agoAdd ONS2018 functest-k8s meeting presentation 97/55497/4
Konrad Djimeli [Thu, 12 Apr 2018 02:30:51 +0000 (03:30 +0100)]
Add ONS2018 functest-k8s meeting presentation

Change-Id: Iadb0942b2699cae05698df2ee3689d3d1eed963e
Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com>
6 years agoAdd minor description grammar fix 31/55631/1
Konrad Djimeli [Fri, 13 Apr 2018 02:18:09 +0000 (03:18 +0100)]
Add minor description grammar fix

Change-Id: I27e4cf14a2036c739d49259744beda982bb20f96
Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com>
6 years agoUpdated from global requirements 29/55529/1
Cédric Ollivier [Thu, 12 Apr 2018 07:19:35 +0000 (09:19 +0200)]
Updated from global requirements

Change-Id: I0bb401f32a43e4d8dbc2a36c8f404d27973edb92
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Remove functest from test-requirements.txt"
Cedric Ollivier [Tue, 10 Apr 2018 19:49:28 +0000 (19:49 +0000)]
Merge "Remove functest from test-requirements.txt"

6 years agoRemove functest from test-requirements.txt 69/55369/1
Cédric Ollivier [Tue, 10 Apr 2018 19:46:44 +0000 (21:46 +0200)]
Remove functest from test-requirements.txt

Change-Id: Ia3a53ee7b7c3ed1e0a24a9bfa7ed205627df652b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Add unit tests for K8sTesting's run and run_kubetest methods"
Cedric Ollivier [Tue, 10 Apr 2018 06:22:30 +0000 (06:22 +0000)]
Merge "Add unit tests for K8sTesting's run and run_kubetest methods"

6 years agoMerge "Add unit test for config file validation"
Cedric Ollivier [Tue, 10 Apr 2018 06:22:24 +0000 (06:22 +0000)]
Merge "Add unit test for config file validation"

6 years agoAdd unit tests for K8sTesting's run and run_kubetest methods 95/55195/2
Konrad Djimeli [Mon, 9 Apr 2018 04:43:23 +0000 (05:43 +0100)]
Add unit tests for K8sTesting's run and run_kubetest methods

Change-Id: I0442614c609d0d6248c1896d0bc8f55c32e5152d
Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com>
6 years agoClean functest-kubernetes-healthcheck too 43/55143/2
Cédric Ollivier [Sat, 7 Apr 2018 13:01:49 +0000 (15:01 +0200)]
Clean functest-kubernetes-healthcheck too

It could have been downloaded by functest-kubernetes-smoke.

Change-Id: If02762300dd832717b7ac4d144aff22167eef986
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove former opnfv/functest-kubernetes files 21/55121/3
Cédric Ollivier [Sat, 7 Apr 2018 10:42:29 +0000 (12:42 +0200)]
Remove former opnfv/functest-kubernetes files

Change-Id: I7443f52541526b630b3e4b8a73f6ec47d27b9598
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd testcase clover_k8s 43/54543/8
QiLiang [Wed, 28 Mar 2018 09:00:27 +0000 (17:00 +0800)]
Add testcase clover_k8s

Clover testcase hook patch:
  https://gerrit.opnfv.org/gerrit/#/c/54541/

This patch is depend on patch:
  https://gerrit.opnfv.org/gerrit/#/c/54695/

Scenario k8-istio-clover run k8s_smoke and clover_k8s

Change-Id: I2cd76ed9d882f94567fd721d250da13b19aaa37b
Signed-off-by: QiLiang <liangqi1@huawei.com>
6 years agoInstall test case clover_k8s 95/54695/6
QiLiang [Sun, 1 Apr 2018 14:51:21 +0000 (22:51 +0800)]
Install test case clover_k8s

Clover testcase hook patch:
  https://gerrit.opnfv.org/gerrit/#/c/54541/

Change-Id: Iab6c2c4fc65e482604d48ca2cbd028453b8a437a
Signed-off-by: QiLiang <liangqi1@huawei.com>
6 years agoAdd unit test for config file validation 69/55169/2
Konrad Djimeli [Sun, 8 Apr 2018 05:20:45 +0000 (06:20 +0100)]
Add unit test for config file validation

Change-Id: I170de36f9641fce253acdd169061476443b86f81
Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com>
6 years agoSplit opnfv/functest-kubernetes 19/55119/3
Cédric Ollivier [Sat, 7 Apr 2018 09:03:34 +0000 (11:03 +0200)]
Split opnfv/functest-kubernetes

4 containers are now proposed
  - opnfv/functest-kubernetes-core
  - opnfv/functest-kubernetes-healthcheck
  - opnfv/functest-kubernetes-smoke
  - opnfv/functest-kubernetes-features

Change-Id: I7d6f1edc7e9ace185b2cf991592ebc841f5520b7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAllow check and verify as CI_LOOP values 17/54617/2
Cédric Ollivier [Thu, 29 Mar 2018 16:59:30 +0000 (18:59 +0200)]
Allow check and verify as CI_LOOP values

It's required by the new promotion model [1].

[1] https://gerrit.opnfv.org/gerrit/#/c/54501/

Change-Id: Ie64632ea7f15977e4bd9f2da96fd3a8074d14ac8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove hooks 87/54387/1
Linda Wang [Fri, 23 Mar 2018 08:35:59 +0000 (08:35 +0000)]
Remove hooks

Change-Id: I927f4db613756bc39155d6a465d57488744689ff
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoMerge "Remove KUBECONFIG from env vars"
Linda Wang [Thu, 22 Mar 2018 07:14:50 +0000 (07:14 +0000)]
Merge "Remove KUBECONFIG from env vars"

6 years agoRemove KUBECONFIG from env vars 15/53815/4
Linda Wang [Thu, 15 Mar 2018 01:20:58 +0000 (01:20 +0000)]
Remove KUBECONFIG from env vars

Change-Id: I85f4c01ceaf9cdadff7fe3d0f284f28da5727658
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoIntegrate Stor4NFV feature k8s test case 55/54155/4
Qiaowei Ren [Tue, 20 Mar 2018 05:48:36 +0000 (13:48 +0800)]
Integrate Stor4NFV feature k8s test case

Change-Id: I1af083b4a22fb67fe93896cb6424fef2dbc8218c
Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
6 years agoUpdate k8s version to v1.9.4 95/54095/2
Linda Wang [Mon, 19 Mar 2018 09:47:52 +0000 (09:47 +0000)]
Update k8s version to v1.9.4

Change-Id: I4d40bcaf49012308b2d7e7621bfe0944ea3d0dfd
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoApply the same suites as Functest 13/53713/2
Cédric Ollivier [Tue, 13 Mar 2018 19:08:20 +0000 (20:08 +0100)]
Apply the same suites as Functest

Change-Id: Icaea92c847255f215974a608ca42667f197ab3e1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRefactor loggers 71/53671/2
Cédric Ollivier [Tue, 13 Mar 2018 12:56:21 +0000 (13:56 +0100)]
Refactor loggers

Only 1 logger is needed and it's updated to conform with logging.ini.

Change-Id: I53465bbe9a81526ce1acaac90e47ffe4daaaa716
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd kubespray as k8s installer 65/53565/2
Cédric Ollivier [Mon, 12 Mar 2018 13:59:23 +0000 (14:59 +0100)]
Add kubespray as k8s installer

Change-Id: I9c53b7ccbcc48a147fadc3e3ea939b776516927b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSwitch from functest to Xtesting 19/52919/5
Cédric Ollivier [Thu, 1 Mar 2018 08:10:02 +0000 (09:10 +0100)]
Switch from functest to Xtesting

It also fixes logging.ini and tox.ini.

Change-Id: I3001dd847d0cd4bcffb7e466ba1cf5a71705f636
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd unit tests for functest-kubernetes 37/52337/3
djkonro [Mon, 19 Feb 2018 23:42:51 +0000 (00:42 +0100)]
Add unit tests for functest-kubernetes

Change-Id: I4c9b5a56e891f4a63c86e0d7c4dd0d02de677610
Signed-off-by: djkonro <konraddjimeli@gmail.com>
6 years agoAdd Kubernetes conformance tests 35/51635/11
djkonro [Sun, 4 Feb 2018 21:13:01 +0000 (22:13 +0100)]
Add Kubernetes conformance tests

JIRA: FUNCTEST-905

Change-Id: I2f70884811431f21fe98bb6a989a9172f3612a64
Signed-off-by: djkonro <konraddjimeli@gmail.com>
6 years agoMerge "Add logging.ini for functest_kubernetes"
Linda Wang [Thu, 1 Feb 2018 12:44:24 +0000 (12:44 +0000)]
Merge "Add logging.ini for functest_kubernetes"

6 years agoAdd logging.ini for functest_kubernetes 23/51323/6
djkonro [Mon, 29 Jan 2018 18:46:55 +0000 (19:46 +0100)]
Add logging.ini for functest_kubernetes

Change-Id: I21008ec3a7cb90f8bccf8df56f659a4b5d59515c
Signed-off-by: djkonro <konraddjimeli@gmail.com>
6 years agoRemove KUBE_MASTER which is not a require environment variable 05/51105/1
djkonro [Thu, 25 Jan 2018 09:02:38 +0000 (10:02 +0100)]
Remove KUBE_MASTER which is not a require environment variable

Change-Id: I948c3c843dcf625317be4be44e496c1e2da2a23c
Signed-off-by: djkonro <konraddjimeli@gmail.com>
6 years agoAdd initial python class for kubernetes testing 91/50591/19
djkonro [Sun, 14 Jan 2018 15:19:05 +0000 (16:19 +0100)]
Add initial python class for kubernetes testing

JIRA: FUNCTEST-904

Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I9007e4e6f58118d1b09774d0acbb2a315437e09a
Signed-off-by: djkonro <konraddjimeli@gmail.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Build kubectl and ginkgo binaries"
Linda Wang [Sat, 13 Jan 2018 08:11:07 +0000 (08:11 +0000)]
Merge "Build kubectl and ginkgo binaries"

6 years agoMerge "Build K8s via specific tags/branches"
Linda Wang [Sat, 13 Jan 2018 08:08:59 +0000 (08:08 +0000)]
Merge "Build K8s via specific tags/branches"

6 years agoBuild kubectl and ginkgo binaries 15/50415/3
djkonro [Thu, 11 Jan 2018 12:26:32 +0000 (13:26 +0100)]
Build kubectl and ginkgo binaries

This binaries are required for running kubernetes
e2e smoke and conformance tests.

Change-Id: Iba7afa4337b6840281d96072b98d7ac0ced2a178
Signed-off-by: djkonro <konraddjimeli@gmail.com>
6 years agoBuild K8s via specific tags/branches 79/50479/2
Cédric Ollivier [Fri, 12 Jan 2018 06:58:52 +0000 (07:58 +0100)]
Build K8s via specific tags/branches

It also removes .git to save space.

Change-Id: I4a4601799266b3ae8771d7453b6df8c90e356004
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd .gitignore 53/49453/7
Jose Lausuch [Thu, 21 Dec 2017 09:28:36 +0000 (10:28 +0100)]
Add .gitignore

It's mainly based on Functest's .gitignore and it's already prepared
for the next python modules and packages.

Change-Id: I1f2e1d9bca31e87103463ea362943181df48c092
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
6 years agoFormat docker/Dockerfile 67/50167/1
Cédric Ollivier [Sun, 7 Jan 2018 20:51:08 +0000 (21:51 +0100)]
Format docker/Dockerfile

Change-Id: Ic167b2a5b26b7d210b76f0f2ceba500da65f1dc2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd Docker post_checkout hook 63/50163/1
Cédric Ollivier [Sun, 7 Jan 2018 20:32:26 +0000 (21:32 +0100)]
Add Docker post_checkout hook

Change-Id: I6a24d42d7830209316e705b8e68fe29c53350c35
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd Dockerfile for functest-kubernetes 63/50063/4
djkonro [Thu, 28 Dec 2017 11:47:37 +0000 (12:47 +0100)]
Add Dockerfile for functest-kubernetes

It lists all instructions to build Kubernetes e2e.test.

Change-Id: I6c3b5b6544197e698d653fa1d214bcd6f0b2f0cc
Signed-off-by: djkonro <konraddjimeli@gmail.com>
6 years agoAdd the required .gitreview 89/49789/1
Cédric Ollivier [Sat, 30 Dec 2017 23:21:05 +0000 (00:21 +0100)]
Add the required .gitreview

Change-Id: Iee11a2002419db1d59030748e5426af16f965a75
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoInitial empty repository
Aric Gardner [Mon, 18 Dec 2017 22:15:31 +0000 (22:15 +0000)]
Initial empty repository