aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes
AgeCommit message (Collapse)AuthorFilesLines
2019-11-16Correctly override dir_results and res_dirCédric Ollivier1-2/+2
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)
2019-11-10Update to Xtesting 0.82Cédric Ollivier1-0/+3
It overrides the default log files. Change-Id: I6a1f9951b47b761e4e1832140181a57dd886117c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 63b56cf0740fd5e2e0b7b022e287b27ddb898dee)
2019-07-27Enable py36 in gatesCédric Ollivier1-4/+4
It also updates pylint. Change-Id: Ifcc597bc4a6aabdb56588949af3b7cf4d52221af Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-06-28Rewrite kubernetes parsingCédric Ollivier2-69/+24
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)
2019-06-27Disable log dumpCédric Ollivier2-3/+8
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)
2019-05-24Update to Python3Cédric Ollivier1-1/+1
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)
2019-03-10Publish Junit files and fix Conformance regexCédric Ollivier1-4/+8
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>
2018-10-10Set Ginkgo's reporter not to print out in colorJuha Kosonen1-6/+5
Change-Id: If0ef89ba521d02b5ea1a1fcb5bc3e546f93e2859 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2018-08-31Fully remove kubernetes working dirCédric Ollivier1-4/+2
It hugely decreases the size of our containers. Change-Id: I7bdc31645fb00c01e16855795bf99dd1b3b17dfd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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>
2018-05-21Fix functest-k8s logging to log all k8s testsKonrad Djimeli2-8/+16
JIRA: FUNCTEST-967 Change-Id: If4924a5c6d66dcbda48ac5ea80d67fcef11ba40a Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com>
2018-04-26Update 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>
2018-04-09Add unit tests for K8sTesting's run and run_kubetest methodsKonrad Djimeli1-0/+13
Change-Id: I0442614c609d0d6248c1896d0bc8f55c32e5152d Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com>
2018-04-09Add unit test for config file validationKonrad Djimeli2-1/+18
Change-Id: I170de36f9641fce253acdd169061476443b86f81 Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com>
2018-03-21Remove KUBECONFIG from env varsLinda Wang2-15/+12
Change-Id: I85f4c01ceaf9cdadff7fe3d0f284f28da5727658 Signed-off-by: Linda Wang <wangwulin@huawei.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-01Switch from functest to XtestingCédric Ollivier1-1/+1
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-kubernetesdjkonro1-0/+54
Change-Id: I4c9b5a56e891f4a63c86e0d7c4dd0d02de677610 Signed-off-by: djkonro <konraddjimeli@gmail.com>
2018-03-01Add Kubernetes conformance testsdjkonro1-11/+55
JIRA: FUNCTEST-905 Change-Id: I2f70884811431f21fe98bb6a989a9172f3612a64 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 testingdjkonro2-0/+96
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>