summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-09-15Update .travis.yml to manage manifestsstable/fraserCédric Ollivier1-0/+31
It has to be updated since functest-kubernetes supports arm64. Change-Id: I7726af24dd9a5ef29ed97003de64469cd27b1703 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-13Merge "Add OpenStack constraints" into stable/fraserCedric Ollivier1-0/+1
2018-09-13Add OpenStack constraintsCédric Ollivier1-0/+1
Change-Id: I2b52f6594629b171312caf25906b9e582613379b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit fb23a333f8c5516f70f6cfb9b2d2c01a5bf91cea)
2018-09-12Updated from global requirementsCédric Ollivier1-1/+1
Change-Id: I906597ee2d0f06cad3299a1475898fd4c0ecd401 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-03Rewrite git clonesCédric Ollivier2-4/+8
Change-Id: I04c60b6c10ccd7b7e939002505e6e43e9c98eae7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ca3c9cf6f57c87aee8c6f0b93f70d84e3df736de)
2018-09-02Avoid downloading git historyCédric Ollivier2-4/+4
It decreases build duration because of kubernetes history. Change-Id: I650c271e123b97e7350933b32d05b6b0781a79e9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 2f66167a9cca03222b86fb464a4ca8aeeb1a3cd6)
2018-08-31Publish daily and gating jjbsCédric Ollivier5-0/+240
Change-Id: Ic7fd7bc9adf1672573878d6b74d43fa55e777be3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 7c3a118a8ca1417600971e20e1e0d90690784519)
2018-08-31Fully remove kubernetes working dirCédric Ollivier2-6/+4
It hugely decreases the size of our containers. Change-Id: I7bdc31645fb00c01e16855795bf99dd1b3b17dfd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 903393322806f197455bb0af7f486b33d0b19b69)
2018-08-31Remove useless env varsCédric Ollivier2-34/+6
In OPNFV context, provider is always local. Change-Id: Ieb51153bedfec34c0a3dfba9705b0b2afcebb8c2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4a3c47e4d729c14aaeff29fcfb09799b3441ff13)
2018-08-31Remove kubernetes/.gitCédric Ollivier1-0/+1
Change-Id: Ib8ee11a51cd89cdb401b5d1781522fc0e3990f0e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 00fa87c3ce28c226a90fc8b91bae948b79180085)
2018-08-25Fix issue of error image when running healthcheck case on arm platformJingzhao Ni1-0/+2
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> (cherry picked from commit 6eeb84fbfa41fac996a19900fed5d9e49ce35d9f)
2018-08-17Take docker tag into accountCédric Ollivier1-4/+4
It completes the previous patch [1] [1] https://gerrit.opnfv.org/gerrit/#/c/61035/ Change-Id: Icd8244dad40f66d9bd549dbc3ceac7e426c06b9c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-17Add some build option in build.sh for supporting arm archJingzhao Ni1-10/+34
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> (cherry picked from commit a540530c66dbd78b83554e22064728c7c03801ea)
2018-05-30Fix functest-k8s logging to log all k8s testsopnfv-6.2.0Konrad Djimeli2-8/+16
JIRA: FUNCTEST-967 Change-Id: If4924a5c6d66dcbda48ac5ea80d67fcef11ba40a Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com> (cherry picked from commit 816438f37e1a47bb3408c89d982c3fc37f893b64)
2018-05-30Update logging to log Errors, when they occurKonrad Djimeli2-0/+16
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> (cherry picked from commit 9f8e105025763e75273f430448518fea77a49d34)
2018-04-24Check build.sh via bashateopnfv-6.1.0Cédric Ollivier3-6/+21
Change-Id: I367d87539ce25d9d114ee1f75b2f8af383408865 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f351c301be1396e5dd578209c606a111afbc8758)
2018-04-22Remove installer dependenciesCédric Ollivier3-4/+4
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> (cherry picked from commit 2041b4bb57cb1d9efe4b9b0c2d9f0f4079ee3bea)
2018-04-22Add ONS2018 functest-k8s meeting presentationKonrad Djimeli4-0/+185
Change-Id: Iadb0942b2699cae05698df2ee3689d3d1eed963e Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com> (cherry picked from commit 8be08fb1860e05efd1b71958866ce87efecf2d94)
2018-04-22Add minor description grammar fixKonrad Djimeli1-2/+2
Change-Id: I27e4cf14a2036c739d49259744beda982bb20f96 Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com> (cherry picked from commit df228306adaf965f3ec694f0d3ac263c51b4d213)
2018-04-10Merge "Remove functest from test-requirements.txt" into stable/fraseropnfv-6.0.0Cedric Ollivier1-1/+0
2018-04-10Remove functest from test-requirements.txtCédric Ollivier1-1/+0
Change-Id: Ia3a53ee7b7c3ed1e0a24a9bfa7ed205627df652b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 08723d80ac7cbac6701871e9a1e5a84792c2fb63)
2018-04-10Add unit tests for K8sTesting's run and run_kubetest methodsKonrad Djimeli1-0/+13
Change-Id: I0442614c609d0d6248c1896d0bc8f55c32e5152d Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com> (cherry picked from commit a21472e084798165d15baedcb4624b8ea328e4ff)
2018-04-10Add unit test for config file validationKonrad Djimeli2-1/+18
Change-Id: I170de36f9641fce253acdd169061476443b86f81 Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com> (cherry picked from commit 2b768e16be8cd317ff4d3811fb17d14fb14eaaec)
2018-04-09Clean functest-kubernetes-healthcheck tooCédric Ollivier2-2/+2
It could have been downloaded by functest-kubernetes-smoke. Change-Id: If02762300dd832717b7ac4d144aff22167eef986 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4ed19ebeea1dc11ea0a98b52e395812d83ad0e62)
2018-04-09Remove former opnfv/functest-kubernetes filesCédric Ollivier3-192/+0
Change-Id: I7443f52541526b630b3e4b8a73f6ec47d27b9598 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4301b8710f3485c2e6bd9e352dc92a6b9cc83c5c)
2018-04-07Add testcase clover_k8sQiLiang4-5/+49
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> (cherry picked from commit 9b324efe02cdc1f4bbda85fbbf1225882264f97c)
2018-04-07Install test case clover_k8sQiLiang2-2/+2
Clover testcase hook patch: https://gerrit.opnfv.org/gerrit/#/c/54541/ Change-Id: Iab6c2c4fc65e482604d48ca2cbd028453b8a437a Signed-off-by: QiLiang <liangqi1@huawei.com> (cherry picked from commit 76ce0009feed821920837cab55c6ff0017aaf69f)
2018-04-07Split opnfv/functest-kubernetesCédric Ollivier14-0/+268
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> (cherry picked from commit 13ac225eb6afbd4e81109ead35d0594c53ce888b)
2018-04-07Set defaultbranch=stable/fraser in .gitreviewCédric Ollivier1-0/+1
Change-Id: I51647512c6f721ee42135d919a65930957ac14cf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-23Remove hooksLinda Wang1-6/+0
Change-Id: I927f4db613756bc39155d6a465d57488744689ff Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-03-22Merge "Remove KUBECONFIG from env vars"Linda Wang2-15/+12
2018-03-21Remove KUBECONFIG from env varsLinda Wang2-15/+12
Change-Id: I85f4c01ceaf9cdadff7fe3d0f284f28da5727658 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-03-20Integrate Stor4NFV feature k8s test caseQiaowei Ren2-5/+33
Change-Id: I1af083b4a22fb67fe93896cb6424fef2dbc8218c Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
2018-03-20Update k8s version to v1.9.4Linda Wang1-1/+1
Change-Id: I4d40bcaf49012308b2d7e7621bfe0944ea3d0dfd Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-03-13Apply the same suites as FunctestCédric Ollivier1-1/+8
Change-Id: Icaea92c847255f215974a608ca42667f197ab3e1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-13Refactor loggersCédric Ollivier1-16/+15
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>
2018-03-12Add kubespray as k8s installerCédric Ollivier1-2/+2
Change-Id: I9c53b7ccbcc48a147fadc3e3ea939b776516927b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-01Switch from functest to XtestingCédric Ollivier6-41/+44
It also fixes logging.ini and tox.ini. Change-Id: I3001dd847d0cd4bcffb7e466ba1cf5a71705f636 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-01Add unit tests for functest-kubernetesdjkonro4-1/+65
Change-Id: I4c9b5a56e891f4a63c86e0d7c4dd0d02de677610 Signed-off-by: djkonro <konraddjimeli@gmail.com>
2018-03-01Add Kubernetes conformance testsdjkonro4-15/+98
JIRA: FUNCTEST-905 Change-Id: I2f70884811431f21fe98bb6a989a9172f3612a64 Signed-off-by: djkonro <konraddjimeli@gmail.com>
2018-02-01Merge "Add logging.ini for functest_kubernetes"Linda Wang2-0/+51
2018-02-01Add logging.ini for functest_kubernetesdjkonro2-0/+51
Change-Id: I21008ec3a7cb90f8bccf8df56f659a4b5d59515c Signed-off-by: djkonro <konraddjimeli@gmail.com>
2018-01-25Remove KUBE_MASTER which is not a require environment variabledjkonro1-1/+0
Change-Id: I948c3c843dcf625317be4be44e496c1e2da2a23c Signed-off-by: djkonro <konraddjimeli@gmail.com>
2018-01-24Add initial python class for kubernetes testingdjkonro9-1/+205
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>
2018-01-13Merge "Build kubectl and ginkgo binaries"Linda Wang1-1/+3
2018-01-13Merge "Build K8s via specific tags/branches"Linda Wang1-2/+5
2018-01-12Build kubectl and ginkgo binariesdjkonro1-1/+3
This binaries are required for running kubernetes e2e smoke and conformance tests. Change-Id: Iba7afa4337b6840281d96072b98d7ac0ced2a178 Signed-off-by: djkonro <konraddjimeli@gmail.com>
2018-01-12Build K8s via specific tags/branchesCédric Ollivier1-2/+5
It also removes .git to save space. Change-Id: I4a4601799266b3ae8771d7453b6df8c90e356004 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-01-12Add .gitignoreJose Lausuch1-0/+19
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>
2018-01-07Format docker/DockerfileCédric Ollivier1-3/+3
Change-Id: Ic167b2a5b26b7d210b76f0f2ceba500da65f1dc2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>