aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-21Update to opendev.org in tox.inistable/gambiaCé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> (cherry picked from commit b0fd44ea0320e95e2fcbfa0007f11fdf8e29dc76)
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> (cherry picked from commit d25d66ff328a91f4e75264768740409d6aac711d)
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> (cherry picked from commit 3fe94a30a171912be79f3bde3ffa4208567af87d)
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> (cherry picked from commit be261aeeef79961a2cb1ac018a7df86e20ee7de4)
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> (cherry picked from commit 838fc2ffe26f06cb11455145b7e73c452e85c15d)
2019-01-18Updated from global requirementsCédric Ollivier1-2/+2
Change-Id: I29c90dd40b7b9d348c8f6be105e636d5de32d442 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> (cherry picked from commit dd85f3feb6149b20b165ad6150bbe743d434f7a0)
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> (cherry picked from commit 05807a01d3aeb8716bc277e8e6802bad7e5bb3fd)
2019-01-05Conform with new tag configsCédric Ollivier1-10/+3
It allows generating gate jobs. Change-Id: I5ec41628f7be6ffe661dace8599ad55dc95b95f3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-04Fix typoCédric Ollivier1-1/+1
Change-Id: I501ca227374e782286920bf0cab09ba1a4355f46 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a4f9b0ab9fd886b26d538c68e07d073642c62923)
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> (cherry picked from commit 20e96ac57df21108cd23feea709e734907866fb6)
2018-12-27Apply operations via sixerCédric Ollivier1-1/+1
Change-Id: I7609f83da73d0ac03fc0d270d42f44708335995c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d66b6c6d89059055e67ac939c258b0dc6fac9825)
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> (cherry picked from commit ebe4291c4457d84cb8425999cfa12371c1c7ce40)
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> (cherry picked from commit 07d8b10d394d1632742c16e4f1f45a29879cf7c1)
2018-12-16Verify the Ansible playbook via ansible-lintCédric Ollivier2-1/+7
Change-Id: I9e6778b935a0a8d6e76cb4f1f16ef08c811eee73 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e3d5138f69bbffdff063019dc35c4b760b2c9564)
2018-12-16Deploy CI/CD toolchains for any Xtesting-based projectCédric Ollivier2-0/+15
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> (cherry picked from commit da22164eda930726eef5e827885e9f1798c4d7e7)
2018-12-15Merge "Verify missing yaml files via yamllint" into stable/gambiaCedric Ollivier2-1/+2
2018-12-15Verify missing yaml files via yamllintCédric Ollivier2-1/+2
Change-Id: I0cd412cd49cac62b393658bf55e0e32def908c85 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 7206ac5bbdb6e8dc5a947a9fdc2300805f0b048c)
2018-12-09Merge "Enable robot sample in the container" into stable/gambiaCedric Ollivier2-0/+67
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> (cherry picked from commit 49575b34b9b3ed410c8da635eacdd64bb28c6d2a)
2018-12-01Merge "Set shell=True in subprocess.check_call" into stable/gambiaCedric Ollivier2-24/+20
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 eae8283aaadeb77884406ded028f2e414659c3b3)
2018-12-01Merge "Stop returning values in run()" into stable/gambiaCedric Ollivier1-1/+0
2018-12-01Stop 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> (cherry picked from commit 0afe15823d98871a09ae88840a2d3538137299a8)
2018-10-19Move pylint exceptionsCédric Ollivier1-2/+3
It seems that build servers are not similar Change-Id: I2e7d49bd91b09591d4c6babbff2e4392fde649ef Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-19Merge "Temporarily disable py36" into stable/gambiaCedric Ollivier1-1/+1
2018-10-19Merge "Fix a wierd pylint error" into stable/gambiaCedric Ollivier1-1/+1
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> (cherry picked from commit 59aa09181f8e3c141aa3d0ab02c5607070da1527)
2018-10-19Fix a wierd pylint errorCédric Ollivier1-1/+1
Change-Id: Ia213e3e1beb80e62f6691c79544b1a0e0e3bb81e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit b0976ac51983d78762d0f44033312e6c3a377e6e)
2018-10-17Merge "Update python3 to python3.6" into stable/gambiaCedric Ollivier1-2/+2
2018-10-17Update python3 to python3.6Cédric Ollivier1-2/+2
Change-Id: I845f8eb0544dc32febec7a17ac7c05412eb31198 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit afe26643a41820904e9cef8f057a2b18395d562e)
2018-09-16Merge "Update ci/globals.yaml (gambia)" into stable/gambiaCedric Ollivier1-2/+2
2018-09-16Update ci/globals.yaml (gambia)Cédric Ollivier1-2/+2
Change-Id: I1e90928c2da6453ceb495e1081f046e00e68c4f8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-13Merge changes I83c64de0,Ifa520a21 into stable/gambiaCedric Ollivier2-3/+3
* changes: Update .travis.yml Fix BRANCH in Dockerfile
2018-09-13Update .travis.ymlCédric Ollivier1-2/+2
It takes the new tag into account. Change-Id: I83c64de06ca89112633bb1f024f143d0c554db28 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-13Fix BRANCH in DockerfileCédric Ollivier1-1/+1
Change-Id: Ifa520a2171149986e4d80e5db61f6d1abfd26280 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-12Updated from global requirementsCédric Ollivier2-3/+3
Change-Id: I7ffcc9e0fae8239039eb1e0333810c8a590964a5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-12Prepare gambia docker imagesCédric Ollivier2-2/+2
Change-Id: I15b19840ab72de3ffbcf464ab79c3cd76218fb71 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>
2018-09-01Update to Alpine 3.8Cédric Ollivier2-2/+2
https://alpinelinux.org/posts/Alpine-3.8.0-released.html Change-Id: I73fba49c3d1bbf018e94e67c835c4049c34209b1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-30Remove former samples/testcases.yamlCédric Ollivier1-66/+0
Change-Id: I1487c73ae4c6e2801c7952689c8d9fe49613db95 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-29Stop verifying ResultWriter.write_results exit codesCédric Ollivier2-2/+2
ResultWriter.write_results() returns false if one test fails. It's skipped by run() because the report is correctly generated. [1] https://robot-framework.readthedocs.io/en/2.9.2/_modules/robot/reporting/resultwriter.html Change-Id: If29059b272679ed89a1189e0bb52997c83401b94 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-29Change output dirCédric Ollivier1-2/+2
It now reads case_name instead of selecting an hardcoded value (robot). Change-Id: I1dfb0daa2eb52f526abdf1664bf5ac36549509a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-28Update RobotFramework configCédric Ollivier1-2/+1
It completes "Leverage on abc and stevedore". Change-Id: Ieb8e7dee79cd4a8a1e93e2db9945577754e35aa8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-20Initialize testcase results to EX_TESTCASE_FAILEDCédric Ollivier1-1/+1
Else the testcase returns EX_OK if exceptions in __init__() Change-Id: I5f23e91a3ecda22a429a006af56592ee86084038 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-14Merge "Protect vs None when calling regex"Cedric Ollivier1-1/+2
2018-08-14Protect vs None when calling regexCédric Ollivier1-1/+2
Change-Id: I93d22442c28e674433234d7729838944962bdbe2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-12Leverage on abc and stevedoreCédric Ollivier11-47/+89
Change-Id: I7b3c4c0c5dd0c9e6fb3e52c3fff5221d4b831b02 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-12Skip the selected testcase too0.56Cédric Ollivier6-6/+51
It completes "Allow calling a skip test" [1] [1] https://gerrit.opnfv.org/gerrit/60655 Change-Id: I02499aed56e6b23563165ea1f17b476e12408823 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>