aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-12-14Update to K8S_TAG v1.15.7Cédric Ollivier1-1/+1
It updates to the latest K8s v1.15 version. Change-Id: Ia9bca9956da02233d87c24b6a2e8b1535bbe5f59 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-12-07Disable false ansiblelint warningsCédric Ollivier1-2/+2
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)
2019-11-27Update package index before install packaging in CircleCICédric Ollivier1-1/+1
Change-Id: I5f61bfdcfa7efa7dfe0a3cf379770e79334de90e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6119abf09d3d5a98509619b650b054aca2edbceb)
2019-11-16Add mailcap in dependenciesCédric Ollivier1-1/+1
It allows detecting mimetypes. Change-Id: Ieeae5e92142daab2ea724f1c332a71a8b0c63102 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit bee77a2c2c6571c622a8e533ed0b80cdb49302ea)
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-09-20Update K8s to 1.15.4Cédric Ollivier1-1/+1
Change-Id: Iabcc7176029b513404395962369aee44eb183dd1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-09-20Switch to py3.6 in containersCédric Ollivier4-15/+15
Functest Kubernetes has supported both py2 and py3. py3 is now selected due to the OPNFV Iruya planning closed to python2 EOL. Change-Id: I62a142b658e6d478021038a36138ce00ea4bced8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-31Remove Features containersCédric Ollivier7-91/+3
Most the features are stopped and Functest shouldn't host dead code. Functest is a framework (Docker and Python modules) which can be still reused by any third-party (OPNFV Feature or anything else) in its tree and CI Change-Id: Ie2f5beddd21b09aabfbdf2bb2f3366e652d43b3a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5149d87c348555184e2ecc48e57697531c5ff38b)
2019-08-11Fix basepython (2.7) in permCédric Ollivier1-1/+1
It was falsy copied/pasted from master. Change-Id: I80d0ad0b8ff641c820b20f3cc0cb1eaa6d2b4615 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-10Run Functest K8s unit tests via CircleCICédric Ollivier1-0/+20
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)
2019-08-04Update Kubernetes to v1.15.1Cédric Ollivier1-1/+1
Change-Id: Ia8b09db7d8e4820e7f95f7635649c35004b0987e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-03Run perm in functest-kubernetesCédric Ollivier1-1/+12
Change-Id: If2d786c50addbd17948afdcd3c803293d03318f8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 7092ae97a37936ff0584e0845d9a87f4e5f86696)
2019-07-27Enable py36 in gatesCédric Ollivier3-6/+6
It also updates pylint. Change-Id: Ifcc597bc4a6aabdb56588949af3b7cf4d52221af Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-10Turn bashate warnings into errorsCédric Ollivier2-2/+3
It also fixes the warning. Change-Id: Ia24208590994418dc8a200e7336cf8a62f0976d3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 424717dfd95388ff2ddc9fe929ac170689a78eca)
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 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> (cherry picked from commit d1d3feacdbf061cf4115ceeadcb71d2142971757)
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> (cherry picked from commit 5f2e455ae47f4fa3c5d6a441b052be1220fbfd9b)
2019-06-25Update K8s to v1.15.0Cédric Ollivier1-1/+1
Change-Id: Ic01eb2d41fe1b0925f1c1a47f8bba86fbbe7cbc5 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> (cherry picked from commit 8af877189e0c276a15717cf7dd9a0fe873214521)
2019-06-09Update K8s to v1.14.3Cédric Ollivier1-1/+1
Change-Id: If776bba6adfe44db2fdad9d1655a3491eaed90fe 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> (cherry picked from commit 11669ed5216c94f3420969aa5b31e0687af33f18)
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-04-24Slightly improve tox.iniCédric Ollivier1-4/+1
Change-Id: I92802637ad2177044f6f8c6f628ede80887583c3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 54b194184e8bc36acf7399a1b460b0b7fa3db893)
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> (cherry picked from commit cfcf5d41cbf26a7fc5d0b07d9ca45d73538036d8)
2019-04-13Merge "Run tox in .travis-ci" into stable/iruyaCedric Ollivier1-0/+11
2019-04-13Run tox in .travis-ciopnfv-9.0.0Cé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> (cherry picked from commit ea76aa99439bf2152b8cadd41e88594bf3b1314e)
2019-04-11Update to Kubernetes v1.14.1Cédric Ollivier1-1/+1
https://github.com/kubernetes/kubernetes/tree/v1.14.1 Change-Id: I46a321b5980aa8b69245cfe024944c102d8df388 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-29Only set go major version in parent containerCédric Ollivier3-5/+5
It allows updating automatically the minor versions. Change-Id: If6b8bcd1d7508653f4e28e4c1025bcd970ed98bf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-28Update K8S to v1.14.0Cédric Ollivier1-1/+1
Iruya will follow v1.14.X releases. Change-Id: I3a04bc567de9922f9eaa189a730594db5656f4ea Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-28Fix typo in build.shCédric Ollivier1-1/+1
It removes 1 falsy tag [1]. [1] https://build.opnfv.org/ci/job/functest-kubernetes-healthcheck-docker-build-amd64-iruya/1/console Change-Id: I42b62ecafb2980f32039795fff10bdd197764201 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-28Publish Functest Kubernetes IruyaCédric Ollivier8-38/+41
Change-Id: I7ea9454f63b403f140961291a4dd14c563e2a82c 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> (cherry picked from commit 06f1907ced66589465a09e51216b78eb318ee187)
2019-03-28Fix 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> (cherry picked from commit 6e32d47d1d3a9880c987dab50852c64ef763a364)
2019-03-28Set 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> (cherry picked from commit 49cd5462ca60c03276546810d4fed3f0a0a93d3c)
2019-03-28Update 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> (cherry picked from commit de031c014b89df8dad204a28f956fcace8e1091d)
2019-03-28Update 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> (cherry picked from commit 443b83ef45b4b58b46dcf0c4a7e50e9d379547ff)
2019-03-28Set defaulbranch=stable/iruya in .gitreviewCédric Ollivier1-0/+1
Change-Id: I9cf9d6be001401d281fe2f7deb6b6cbe698234fe 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>