aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-06-27Disable log dumpCédric Ollivier3-4/+9
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>
2019-06-27Remove useless ci_loop in testcase descriptionsCédric Ollivier3-4/+0
Change-Id: I89f5a9172bed9d6861543250a971e09466d1307b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-06-25Keep kubernetes sourcesCédric Ollivier1-1/+1
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>
2019-05-25Run bandit when verifying changesCédric Ollivier2-5/+8
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>
2019-05-25Set utf-8 in decode and encode callsCédric Ollivier1-1/+1
It eases backporting in iruya and hunter as a few logs can't be decoded as ascii [1]. [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-iruya-juju_epc-run/56/console Change-Id: If241c5323f286c33aaae804479375efe4c3c1588 Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
2019-05-12Update to Python3Cédric Ollivier5-13/+13
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>
2019-04-24Slightly improve tox.iniCédric Ollivier1-4/+1
Change-Id: I92802637ad2177044f6f8c6f628ede80887583c3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-21Update all OpenStack refs to opendev.orgCédric Ollivier3-3/+3
Change-Id: I829c7798d21abb013db09d80cc509862fa5b9e2d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-13Run tox in .travis-ciCédric Ollivier1-0/+11
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>
2019-03-28Verify Ansible playbooks via ansible-lintCédric Ollivier2-1/+7
Change-Id: Id51c2932e126ce1b29e43c95cc786101675bfa99 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-24Fix manifest-tool buildsCédric Ollivier1-0/+1
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>
2019-03-24Set db_project in ansible/site.ymlCédric Ollivier1-0/+1
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>
2019-03-23Update Alpine tag in build.sh and ansible/site.ymlCédric Ollivier2-4/+4
It completes the previous commit updating Alpine. Change-Id: I5f29bbe9d8c79f50d3270ad76eec687073351e43 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-19Update to Apine 3.9Cédric Ollivier3-3/+3
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>
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>
2019-01-21Fix container names in ansible/site.ymlCédric Ollivier1-3/+3
Change-Id: I246065e176eba9e8dbd31b8f54974b3b2a498f2f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-17Fix BRANCH args in ansible.ymlCédric Ollivier1-3/+3
Change-Id: Ic7db95470d510813949c059b2b573425446d2c34 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-15Switch from port to dportCédric Ollivier1-1/+1
port is reserved in ansible. Change-Id: I095396a94ac34ca6bded65033d1a7e2446eaeb8f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-14Remove former ci jobsCédric Ollivier5-240/+0
They can now be generated via the new ansible role. Change-Id: I6ca1f14873b83a343e00a5d5a75a746ce9d0e6e8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-05Add Functest k8s gate jobsCédric Ollivier2-8/+31
Change-Id: Icfe4445c1405749698d2db42fa6001ad3d261e29 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-27Add build dependenciesCédric Ollivier1-1/+4
New OpenStack upper-constraints require build deps. Change-Id: Ib0318badfb13f528c20f4e01afdeaba36f442f9c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-19Deploy Functest Kubernetes CI toolchainsCédric Ollivier1-0/+27
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>
2018-10-30Merge changes I9b371e44,I79c404d4Cedric Ollivier1-1/+1
* changes: Prepare OPNFV functest releases Disable py36
2018-10-30Prepare OPNFV functest releasesCédric Ollivier1-1/+1
It sets version = 9 (I-release). Change-Id: I9b371e444be9fc61b3d1dcaf41870795287f3fed Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-30Disable py36Cédric Ollivier1-1/+1
All OPNFV build server doesn't support py36. Change-Id: I79c404d4104d90917cb50e87b545cbc9d7f158ca Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-19Temporarily disable py36Cédric Ollivier1-1/+1
Build servers haven't been updated yet to support py36. Change-Id: I05247a7ded6518a558ffd52eb38433c45a5338e4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-18Switch to golang:alpine3.8 as based imageCédric Ollivier3-6/+5
It fixes all issues raised by the Alpine testing go package [1]. It conforms with Kubernetes which requires the latest go version. [1] https://build.opnfv.org/ci/job/functest-kubernetes-healthcheck-docker-build-amd64-master/45/console Change-Id: I388c843a21af9763703a40586ecf9b0b4583ebcb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-17Update python3 to python3.6Cédric Ollivier1-1/+4
It conforms with Alpine 3.8 Change-Id: If384d374224bdc465b68f134e60051d43ef951af 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-09-15Update .travis.yml to manage manifestsCé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-14Stop writing in clusterapi-tester/pod.yamlCédric Ollivier1-2/+0
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>
2018-09-14Update K8s tag to masterCédric Ollivier1-1/+1
Change-Id: I772d9b267f5cbdac37a297ef617da77e97bc4d2b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-14Merge "Disable OPNFV Features"Cedric Ollivier3-1/+7
2018-09-13Disable OPNFV FeaturesCédric Ollivier3-1/+7
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>
2018-09-13Merge changes I2b52f659,I894bb969Cedric Ollivier3-2/+3
* changes: Add OpenStack constraints Update to OpenStack master
2018-09-13Add OpenStack constraintsCédric Ollivier1-0/+1
Change-Id: I2b52f6594629b171312caf25906b9e582613379b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-13Update to OpenStack masterCédric Ollivier2-2/+2
Change-Id: I894bb969d690537f6910b8cfcdb52162747121a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-13Updated from global requirementsCédric Ollivier2-5/+5
Change-Id: I218e6cc1813824bc0c03e3eec42b6efdd463d8c7 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>
2018-09-02Update Xtesting to 0.60Cédric Ollivier4-11/+12
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>
2018-09-02Update Kubernetes to v1.11.2Cédric Ollivier2-4/+5
Change-Id: If674867a7dc488c64fc3f0cda530560b5d306416 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-01Update to Alpine 3.8Cédric Ollivier2-4/+4
https://alpinelinux.org/posts/Alpine-3.8.0-released.html Change-Id: Ie9197f0cbc682d0c9a7cfee18b5ca6a27c466c89 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-01Avoid 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>
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>
2018-08-31Publish daily and gating jjbsCédric Ollivier5-0/+240
Change-Id: Ic7fd7bc9adf1672573878d6b74d43fa55e777be3 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-08-30Remove kubernetes/.gitCédric Ollivier1-0/+1
Change-Id: Ib8ee11a51cd89cdb401b5d1781522fc0e3990f0e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-25Merge "Fix issue of error image when running healthcheck case on arm platform"Cedric Ollivier1-0/+2
2018-08-24Fix 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>