aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-07-11Adding first patch for behave featureDeepak Chandella15-17/+370
Change-Id: Ic975c301103b49cdec2bd26746b708388f21e892 Signed-off-by: Deepak Chandella <deepak.chandella@orange.com>
2019-06-14Merge "Remove energy modules"Cedric Ollivier9-734/+1
2019-06-14Remove energy modulesCédric Ollivier9-734/+1
The public recorder api has been down for a while. Change-Id: Ib879ef3b9ef56338c10cfcdeb733451c6f7573a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-06-04Updated from global requirementsCédric Ollivier1-1/+2
Change-Id: I6f8705e701aac7432d7340d4949ace06339af3a3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-25Run bandit when verifying changesCédric Ollivier3-0/+6
It reports only MEDIUM issues or higher like nova [1]. It selects bandit 1.1.0 as defined in nova and neutron lower constraints [2]. [1] https://github.com/openstack/nova/blob/master/tox.ini#L221 [2] https://github.com/openstack/nova/blob/master/lower-constraints.txt#L8 Change-Id: I52524df867d99fae75798475c762a5f8253dacfa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-25Set utf-8 in decode and encode callsCédric Ollivier2-4/+4
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: I09c793469bdf4a679e6ed5a268e705efa5f2a20f Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
2019-05-12Fix unit tests (py36)Cédric Ollivier2-12/+12
It completes the patch "Update to Python3" [1] which was not fully verified in Functest Gates [2]. [1] https://gerrit.opnfv.org/gerrit/#/c/67782/ [2] https://travis-ci.org/collivier/functest-xtesting/jobs/531380395 Change-Id: Icd0d743e14ca1430828907cefba10b50489020a5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-12Stop setting utf-8 in decode/encode callsCédric Ollivier2-4/+4
It's the default value. Change-Id: I301f750cabc41a1564a700ae8d7328f195a4ae9b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-11Rename HelloWorld.txt to HelloWorld.robotCédric Ollivier3-2/+2
It takes the following warning into account [1] "Automatically parsing other than '*.robot' files is deprecated" [1] https://build.opnfv.org/ci/job/xtesting-opnfv-xtesting-latest-fifth-run/150/console Change-Id: Ibe01eea7eb83c8724d6b4afe3a487ad813fed30d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-07Update to Python3Cédric Ollivier7-17/+17
Now Xtesting containers use Python3 instead of python2. https://mail.python.org/pipermail/python-dev/2018-March/152348.html It also updates robotframework to latest release. Change-Id: I57e0d8b1af9aeaae0c445941a9bdf0b8bd346834 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-24Enable debug messages via env varCédric Ollivier4-10/+75
It stops printing in xtesting.debug.log by default. It decreases testing duration via Raspberry PI without additional tasks [1]. [1] https://wiki.opnfv.org/display/functest/Run+Functest+containers+on+Raspberry+PI Change-Id: I2eded47a7a150a45330a69f3262fc7ca6fdb7463 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-21Update to opendev.org in tox.iniCédric Ollivier1-1/+1
It completes the previous commit [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/67651/ Change-Id: I5298e406d7973572034242224b867ba8fd79e60f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-21Update all OpenStack refs to opendev.orgCédric Ollivier1-1/+1
Change-Id: Iefb247bcfbc490fd64bd9a78b4cacffca1603126 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-19Updated from global requirementsCédric Ollivier1-1/+1
Change-Id: I12a51ae31601ef82f2a2f92f4642795a3a5a32db Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-13Add python3.6-devCédric Ollivier1-1/+1
It's mandatory for building all python packages [1]. [1] https://travis-ci.org/collivier/functest-xtesting/builds/519646504 Change-Id: I71afe76a33a68f9bf0550c80003aa04ac76c9774 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-13Run tox in .travis-ciCédric Ollivier1-0/+7
It installs python3 via ppa to run unit tests vs py36. It completes the OPNFV gates which can't verify them. Change-Id: I6942f12ec7daf50e62173290e55df87af9e35d5a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-13Merge "Build Raspberry PI image via travis-ci"Cedric Ollivier2-2/+10
2019-04-12Build Raspberry PI image via travis-ciCédric Ollivier2-2/+10
Change-Id: I91ced3f779921ed26bb91daa971692620311feaf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-03Publish the presentation for ONS 2019Cédric Ollivier4-0/+152
It highlights the reuse of OPNFV frameworks from infrastructure verification to e2e network service testing [1]. [1] http://testresults.opnfv.org/functest/ons2019/ Change-Id: Icc3d99329f01b68a2bf8639708abbf9415036414 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: I4fdff1df75f39b3b2bc70c3ee9c9910adbe9f0ff Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-23Merge "Update Alpine tag in build.sh"Cedric Ollivier1-1/+1
2019-03-23Update Alpine tag in build.shCédric Ollivier1-1/+1
It completes the previous commit updating Alpine. Change-Id: Ic7bb294eeebad360278dcb75f841efec8e87c03b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-19Merge "Update to Apine 3.9"Juha Kosonen1-1/+1
2019-03-18Update to Apine 3.9Cédric Ollivier1-1/+1
It updates to the latest Alpine release [1] [1] https://www.alpinelinux.org/posts/Alpine-3.9.0-released.html Change-Id: I5c7bd64333fb38fcc7aa0c315de2bcd40435ed0a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-02-28Updated from global requirementsCédric Ollivier1-1/+1
Change-Id: I6a2c5a16efdba81dda01fe21ad79f734dad3fd32 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-15Fix default host in ansible (127.0.0.1)Cédric Ollivier1-1/+1
Change-Id: Ief3656032a808a66fcb701272d5a4c3ecdca1427 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-14Remove former ci jobsCédric Ollivier5-125/+1
They can now be generated via the new ansible role. Change-Id: I4c8fdf209fd4f9fd8b10342a86453ff5e1cb5b09 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-04Merge "Fix typo"Cedric Ollivier1-1/+1
2019-01-04Merge "Remove url from logs"Cedric Ollivier1-1/+1
2019-01-04Fix typoCédric Ollivier1-1/+1
Change-Id: I501ca227374e782286920bf0cab09ba1a4355f46 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-04Remove url from logsCédric Ollivier1-1/+1
It can be false in case of NAT. Change-Id: Id1f4b59eeaf466545cc906bd86c2917b8df2b7a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-27Updated from global requirementsCédric Ollivier1-1/+1
Change-Id: Ic9fb51a1ab37d105d4040c5ea0bee442cdad5696 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-27Apply operations via sixerCédric Ollivier1-1/+1
Change-Id: I7609f83da73d0ac03fc0d270d42f44708335995c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-27Allow printing bash cmd output in consoleCédric Ollivier2-22/+117
It switches to Popen to print real-time console. Console has to be enabled per testcase (testcases.yaml). Change-Id: Id36b42c8409262f7c443e98ae2bcc465984b287f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-27Generate reports for unit testsCédric Ollivier4-58/+269
It now leverages on subunit to generate html and xml reports. Change-Id: I3f5a4fe5547e743b122b63e0b8530c9d9677cdbd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-26Fix OpenStack version (master) in tox.iniCédric Ollivier1-1/+1
Change-Id: I4a5c3a85870ce515d64be5efb25b016908b56164 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-15Verify the Ansible playbook via ansible-lintCédric Ollivier2-1/+7
Change-Id: I9e6778b935a0a8d6e76cb4f1f16ef08c811eee73 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-15Verify missing yaml files via yamllintCédric Ollivier3-2/+4
Change-Id: I0cd412cd49cac62b393658bf55e0e32def908c85 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-11Deploy CI/CD toolchains for any Xtesting-based projectCédric Ollivier1-0/+4
It allows deploying the CI/CD toolchain via ansible for all projects based on Xtesting (e.g. OPNFV Functest, ONAP robot tests, etc.). It deploys Jenkins, Minio and S3www and loads all jobs in Jenkins. Last components (MongoDB, TestAPI and 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: I5a8ddb45fc354c9a22c52f0d42ce2e0181f345b7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-09Enable robot sample in the containerCédric Ollivier2-0/+67
The testcase is disabled by default in package as the location depends on OS. But it can be safely enabled in the Alpine container. Change-Id: I8d1befd09b8d823010dfce7fbb18eddb864fd6e6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-01Set shell=True in subprocess.check_callCédric Ollivier2-24/+20
It allows running multiple shell instructions (see third). Change-Id: I132813c51d42f0fb4bc729d315c468d426f2fb3c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f99cef18b6dd3eff6703c4d748fae415fea78ae2)
2018-11-28Stop returning values in run()Cédric Ollivier1-1/+0
Runner only checks status via is_successful(). Change-Id: I12647449b037223ac4e3c6ee577610d4430d0bf5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-19Temporarily disable py36Cédric Ollivier1-1/+1
Verify servers haven't been updated yet to support py36. Change-Id: Id2999a94f9c2c03432412a4b40a4b3c593aaffb5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-19Fix a wierd pylint errorCédric Ollivier1-1/+2
Change-Id: Ia213e3e1beb80e62f6691c79544b1a0e0e3bb81e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-17Update python3 to python3.6Cédric Ollivier1-2/+2
Change-Id: I845f8eb0544dc32febec7a17ac7c05412eb31198 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-12Merge "Updated from global requirements"Cedric Ollivier2-14/+14
2018-09-12Updated from global requirementsCédric Ollivier2-14/+14
Change-Id: I8eb758bb28904ed9504cba4eef5a94026a0e34bc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-12Follow OpenStack masterCédric Ollivier1-1/+1
Change-Id: I9b3ead197d54061adddbf47b6b94bbeb79c81793 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-03Rewrite git cloneCédric Ollivier1-2/+4
Change-Id: I0e17233faaf8eddb263e90cb82b65335f1c9cf40 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-02Publish daily and gating jjbsCédric Ollivier4-0/+124
Change-Id: I1050741ce34e151be30404275670e83fc2a40d1a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>