aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-08-07Allow calling a skip testCédric Ollivier3-11/+12
run_tests shouldn't return an incorrect value if the test is skipped. Else it simply forbids running tests in parallel (one test per thread). Change-Id: I07efca28dbf6cf1c29ec8e5c999e38cfe3ad0aad Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0b69c9ee6ca5188045a5927b41fa2666555631d9)
2018-08-07Allow dynamically skipping testcasesCédric Ollivier3-15/+67
Change-Id: I7cf47f0625bdb8345fef43b24c51bd84ef4486ea Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 3aee76caccf9701e2c90652a920c1bca66903bb8)
2018-08-07Fix results when only one skipped testCédric Ollivier1-1/+2
Change-Id: Id6c8029b8be1e3a01979feb45daebad08710fe20 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 000f21ee1c0dcba6a438e39166bad8b3270e3c5e)
2018-08-07Stop printing exceptions twiceCédric Ollivier1-3/+14
Change-Id: Ife772d33741e7023ed72afeb0f74ed8b461e0033 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c0168e2f1a1a43f33f552923f3a5511a019129df)
2018-08-07Stop skipping testcases if one raises exceptionsCédric Ollivier1-0/+6
https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/188/console Change-Id: Ic412c5b55169f599bd9cdb623f349dd2220940db Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 12217df35b64528f786d3548ca2353907b2b6ebb)
2018-08-07Improve dependency managementCédric Ollivier6-39/+26
It avoids declaring dependencies if needed. Negative regex are correcty managed as well. Change-Id: I0e978823526246bc4a5192e63a8a893a4add0e2a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a507f38dc69019523ff02006622eb4ab84cd5ba1)
2018-05-30Remove Feature loggerPanagiotis Karalis3-61/+10
This class atttribute is removed as it's quite useless (it forces one module per project). All messages are now printed to xtesting.log whatever the namespace and all warnings are printed in console. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I6860eaf427093ea21b3bd78650bec7939e947b2d Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0249623ab94035ca0ea363d9a86847c2e7a5ee93)
2018-04-24Check shell scripts via bashateCédric Ollivier3-4/+14
Change-Id: I33df0017945a32946c46bff0768624901e13f6f1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9c04ef0bc676591c762153f5c8446e83d860ea76)
2018-04-17Create a static method to configure loggerCédric Ollivier1-4/+9
It helps OPNFV Features to configure their multiple loggers as self.logger is not suitable in case of multiple modules. Change-Id: I5794a3e323d70abfdd85db89a9890488828efd88 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 77d4dfa984fbf5ab034f9550148e0353b643f0dd)
2018-04-11Exclude doc/reveal.js from permCédric Ollivier1-1/+1
Change-Id: I6c81163d55217a374269ee7d2aae63a854c9fdeb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ea383e4f5e843fe27533c02a67f81e0625b62a4a)
2018-04-11Build Fraser Docker tagCédric Ollivier2-2/+2
Change-Id: I3c42574ed077e82ff89f1ce232b9d77dca72183c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-10Updated from global requirementsCédric Ollivier1-1/+1
Change-Id: I8fae672c01c3fa9d99842827436e2e94cfac2be8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-07Check README.rst by doc8Cédric Ollivier1-1/+1
Change-Id: I9ac9fa26d49fd9cd01844e5579255cfadbd8b276 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-04Check API doc via doc8Cédric Ollivier7-235/+23
It also cleans unseless dirs. Change-Id: I52ddc9e2adcd13c95e4a8939397686f50b9e6c4c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-31Ignore output dirs and filesCédric Ollivier1-0/+4
Change-Id: I5d8bbee73489e723dec4a1962c3b95943a038efc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-31Fix software names (uppercase letters)Cédric Ollivier1-13/+12
Change-Id: I1eba2a3594b050e4c50ac081a653011fa1e98426 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-24Update Xtesting presentationCédric Ollivier1-8/+23
Change-Id: Ida18f3fd0138eb70bb2dd6b512cec5bef470b685 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-23Publish xtesting presentationCédric Ollivier5-0/+190
Change-Id: Ia33a17ed5868bf61f088feea1a608603fdeb28dc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-19Fix regex when INSTALLER_TYPE is unsetCédric Ollivier2-16/+18
Change-Id: I0ec012185f3c90b2a2c82b6f204ce332f3fa9c7f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-18Update api/index.rstCédric Ollivier1-2/+60
It mainly copies the wiki main page [1]. [1] https://wiki.opnfv.org/display/functest/Xtesting Change-Id: Iaedfa2bbf83976654a626640b38d8cc27131d3d4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-18Add classifiers (pypi)0.24Cédric Ollivier1-0/+10
Change-Id: Ifabc4b33e56d37e097724cee2afd1c1da2438f9c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-18Add README.rst (pypi)Cédric Ollivier2-0/+26
Change-Id: I4248c86ee51b9458d367440670a0abaf3ec7c87f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-12Add a travis-ci config fileCédric Ollivier2-1/+29
It also fixes a typo in build.sh. Change-Id: Id9ac580d3b6268dd8e2326cecef57db213ef1a11 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-09Merge "Add build.sh for functest-xtesting"Cedric Ollivier1-0/+27
2018-03-09Add build.sh for functest-xtestingDelia Popescu1-0/+27
JIRA: FUNCTEST-948 Change-Id: If174ac0cc5716ccd6f5bcd6b5627feb222d05b0b Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-03-08Add tags support using include optionsmrichomme2-5/+7
Change-Id: Ibfd8645e2ec7da7d05ae806b5bc1f5a90bfc39a2 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2018-03-06Add py3 support in samplesCédric Ollivier2-2/+6
Change-Id: I402be2f5921577985218306161a6efe1b9d62a48 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-04Return all status when running tiers0.22Cédric Ollivier1-2/+1
Change-Id: I31a062304d47c055c14e5afe8f560c3048b071f4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-03Stop filtering the project when calculating results0.21Cédric Ollivier1-4/+1
Change-Id: Ia0917426775831176206f4bb300d513cc3190e08 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-01Remove Functest-related env varsCédric Ollivier1-3/+0
Change-Id: If1b44ad61db58fd3d02817373255c6467f515e85 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-01Leverage on tags for all versionsCédric Ollivier1-1/+0
Change-Id: I7e8c1a9f97711c935b61696b348183b382c15d12 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-01Set universal wheels0.2Cédric Ollivier1-0/+3
Change-Id: I856b02ff26808cc56ecee62570f5370795abc178 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-28Ensure py27 and py35 supportsCédric Ollivier1-6/+1
Change-Id: Ia1cd423be2e55ab7539bcd2551c53792c08b976a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-28Add mandatory package infos (PyPI)Cédric Ollivier1-1/+3
Change-Id: I2ab4eb5f2916ee26cd3be48eb4fa2074d020967c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-28Switch from /home/opnfv/functest to /var/lib/xtestingCédric Ollivier9-7/+17
Functest containers will have to create symlinks to allow publishing artifacts. All classes create the mandatory dirs. Change-Id: Ia1f215005d553dd6d64685e4d8a3f5c843c5db7a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-28Remove obsolete Alpine packagesCédric Ollivier1-3/+1
Change-Id: Ibaaaab6af46cf3bf76be5442f5e155de592e727e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-28Publish Dockerfile and samplesCédric Ollivier10-396/+187
Change-Id: Ie776fea631f04bb42d8ae80bc658318d8644d0e5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-28Fully cover tier_builder.pyCédric Ollivier1-2/+13
Change-Id: I48ad1d430bb56b5be75b003800990a251f6a4065 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-28Remove all OpenStack operations in vnf.pyCédric Ollivier4-112/+5
Change-Id: I356305f3c59b51f97f5fb1335369834a77fda9b1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-28Rename all Functest refs to XtestingCédric Ollivier69-342/+381
It mainly renames python modules and then the related documentation config files. Change-Id: I186010bb88d3d39afe7b8fd1ebcef9c690cc1282 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-27Clean all OpenStack related modulesCédric Ollivier360-66579/+2
Xtesting is only focused on the framework and entry points. Change-Id: I1a4146ed8519438b13810a20ddf1140c35bb6ecd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-26Merge "Raise exceptions when SDN_CONTROLLER_IP is None"Cedric Ollivier2-4/+14
2018-02-26Merge "Stop raising keystoneauth1 exceptions in odl unit tests"Cedric Ollivier2-3/+1
2018-02-26Merge "Fix KeyError of OS_AUTH_URL"valentin boucher1-1/+1
2018-02-26Raise exceptions when SDN_CONTROLLER_IP is NoneCédric Ollivier2-4/+14
Change-Id: Ia0d00a6b3c4c4936dc10602e838f507beea0c592 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-26Stop raising keystoneauth1 exceptions in odl unit testsCédric Ollivier2-3/+1
It simply raises Exceptions to avoid depending on keystoneauth1. Snaps may also reraise another exception. Change-Id: Ib3041b2d8ff51ee098f2bf0b9918079b7945abf3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-26Remove openstack utilsCédric Ollivier3-3276/+0
They have been obsolete since we fully switched to snaps. The files are being moved to SDNVPN which is the last project using them [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/52631/ Change-Id: I277b92a04cf6bc7b30015eed76f03f17830fad2b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-26Fix KeyError of OS_AUTH_URLLinda Wang1-1/+1
Change-Id: Iaaa657ebb8ed017429b640ffaaf03b6d204e887a Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-02-26Switch to snaps in orchestra testcasesCédric Ollivier2-279/+90
It also stops using the floating ip in userdata to avoid a race condition (all-in-one). The DNS server is now configured by Neutron instead of the testcases. Change-Id: I6efed71339d98403f7fd137ff50f1941b5b5a03c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-25Fix default identity version in conf_utilsCédric Ollivier1-2/+1
Change-Id: I2e78958b3c96b36a5fac636a1817424fb102afea Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>