aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/Controllers/ONOS
AgeCommit message (Collapse)AuthorFilesLines
2016-09-09Merge "Optimize onos-sfc"Jose Lausuch2-244/+245
2016-09-09Optimize onos-sfcwuwenbin22-244/+245
1.Delete print and format in onos-sfc 2.Split class into serveral methods in Sfc.py 3.Update Fail process 4.Use vars of HTTP status code Change-Id: Ifb2fc5c570e2c2aa2cfb173eadb32c688a84969e Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
2016-09-08make use of functest_utils.get_parameter_from_yamlSerenaFeng2-52/+44
JIRA: FUNCTEST-463 Change-Id: I1d54a65c5bfa2542f2fd3a2e408967641e6e4ac9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-07remove imported FUNCTEST_REPO objectSerenaFeng2-6/+7
According to openstack style guidelines in http://docs.openstack.org/developer/hacking/ **** Do not import objects, only modules (*) **** so direct FUNCTEST_REPO import should be avoided from functest.utils.functest_utils import FUNCTEST_REPO as FUNCTEST_REPO JIRA: FUNCTEST-459 Change-Id: Iac0d07a54957cd7419391de183660ac1ce0efd49 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-01Switch print to logging.infoCédric Ollivier4-31/+43
It follows the recommendations described in the next review [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/19795/ Change-Id: Ie7ce28451122c554f135caad068844c0303deaeb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-09-01stop hardcoded FUNCTEST_REPO path everywhereSerenaFeng2-11/+9
functest repo is used by almost every testcase, each place we get it like: REPOS_DIR = os.getenv('repos_dir') FUNCTEST_REPO = ("%s/functest" % REPOS_DIR) provide a common interface in functest_util.py JIRA: FUNCTEST-453 Change-Id: Ie0635dacc761ed2d05b7e606530368844f32ebaf Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-31Remove all logers as utils method args.Cédric Ollivier2-2/+0
As it modifies method params, it could break the testcases. JIRA: FUNCTEST-428 Change-Id: I4263d9bd812f1803e513464e3c321cc4a7281958 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-16Fix joid test bug that creation of vm failswuwb19891-0/+16
Change-Id: I54d56cb2266ae627e4518f06b14705b672e6f74e Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-07-30Add onos_sfc scenariowuwenbin22-7/+22
JIRA:ONOSFW-172 Change-Id: I019edf79f8d343f794aa7af151d8e30c18e2c5f6 Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
2016-07-20Remove logger as input parameter of functions in openstack_utilsjose.lausuch1-67/+76
JIRA: FUNCTEST-376 Also some fixes to get rid of flake8 violations in onos-sfc Change-Id: I52c2fd30a6b81af20ea779db2d73b9386524f7ce Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-19Extend timeout to check vm in onos-sfc testcasewuwenbin21-2/+2
Change-Id: I68ae154391d8098cab3d3cb05cebe6f1922ca701 Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
2016-07-15Push sfc result into DBwuwenbin22-4/+51
Change-Id: I8ab9b5b9322fa3a6905c629e559aa78d9817958f Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
2016-07-13Add sfc support for all installers.wuwenbin23-82/+75
JIRA:FUNCTEST-366 Verified in fuel and joid locally. Change-Id: Ife0fd55361e22b9f2003e592b42558860431747a Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
2016-07-12Chmod 755 all py files which can be executedCédric Ollivier1-0/+0
All files where __main__ is checked can now be executed by everyone. It results from [1]. [1] find . -name "*.py" |xargs grep __main__ |cut -d\: -f 1 |xargs chmod 755 Change-Id: I9ad153cfdde0447213e35dac102e668d9e754cf9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-11bug fix: use PASS/FAIL in Onos instead of passed/failedMorgan Richomme1-2/+2
Change-Id: I6a293d49476a428b82c472dafa47793c494c2c92 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-08Fix onos sfc's block.wuwenbin22-11/+28
Add ping check before login. Change-Id: If93809ddf727246db453208c79a8e4ecaa288c51 Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
2016-07-05Change methods to call openstack utilswuwenbin21-48/+23
Change-Id: I3ac1fba007ae91dc8963139caa0d6ac2a48d2ba8 Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
2016-07-04Add interface to run sfc functests.wuwb19891-6/+70
Varified only in fuel. Prerequisite: no floating ip exists. Change-Id: If6ef4c395992ba1544559b47c5c97f7cd5ce004c Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-07-01ONOS sfc scriptsAntonySilvester3-0/+1043
Change-Id: Id314d64cffc3e25b7c3f47e9ff158f79360417e0 Signed-off-by: AntonySilvester <antonysilvester@gmail.com>
2016-06-22modify onos tests' link to support onos 1.6wuwb19892-8/+8
Change-Id: Ice9b19a1d569b4084921961ec0a3a9d961923521 Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-06-16Align test names in DB and config fileMorgan Richomme1-1/+1
JIRA: FUNCTEST-304 Change-Id: I98d3155beb1c5e49eda84b443df603c2630b4823 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-08Adapt functest testcase to APi refactoringMorgan Richomme1-10/+11
JIRA: FUNCTEST-303 Change-Id: Ia276d9ca6e8d62b496c3b5f81561b14b02c43fd7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-31Write login correctlyCédric Ollivier1-1/+1
Change-Id: I1806fb7ac3d276065badd8537f84339c18a1856e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-05-17Change 'testcases' directory structurejose.lausuch10-1/+1
JIRA: FUNCTEST-226 - Remove all 'CI' subdirs - Remove VIM dir and have OpenStack dir within /testcases/ - Split rally and tempest in 2 different dirs Change-Id: Icfc76d18a84f7a18d93ae1a5ec7dc7a560bb7ce9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-05Fix bug config_functest.yaml locationjose.lausuch1-2/+1
Change-Id: I3b28eb7015f6f1418ef04ca91103e313f71f74e3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-04Refactor improvementsjose.lausuch1-1/+1
JIRA: FUNCTEST-190 - Deleted unnecessary old scripts - Fixed healtcheck logging - Moved config_functest.yaml to /ci/ - Created env var CONFIG_FUNCTEST_YAML pointing to that new location - Modified all scripts which open config_functest.yaml using the new env var Change-Id: Ic4f0e40a70c02ac08287a1d621956f602bdee177 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-27Replace all the loggers by the functest logger modulejose.lausuch1-13/+2
JIRA: FUNCTEST-228 Change-Id: If7a3c8cb08e9fbdf155fc5eff5330f79e5f8d234 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-26Move functest_utils and openstack_utils to directory /utilsjose.lausuch1-1/+1
JIRA: FUNCTEST-226 Change-Id: I74d09f6322844b25ab45a02156317ae76ab40d8a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-25Remove backslashs for line continuationCédric Ollivier4-16/+16
JIRA: FUNCTEST-213 Change-Id: Ia50521cf8fcf60a847aa44fe0ea59b6e64830e92 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-04-22Affect version field in results for all the testcasesMorgan Richomme1-1/+1
Previously version was scenario JIRA: FUNCTEST-225 Change-Id: Ia86f83dbe98ad5f9dbced60c46e57f58eccba7e9 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-04-22Enable PYTHONPATH env variable inside the containerjose.lausuch1-7/+6
JIRA: FUNCTEST-224 Change-Id: Ib10dc312a761b06fe36174c5c19a0165f746593e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-21Fix Flake8 Violations in the Functest scriptsjose.lausuch5-226/+247
JIRA: FUNCTEST-213 Change-Id: I66c02dd6ff12ffb9798ebe44a4cfe7bfc73e76c3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-03-18Add criteria and version when pushing the results into test DBMorgan Richomme1-30/+50
JIRA: FUNCTEST-151 Change-Id: Iac36f28db5f2203d7b2977a2bb973534fe167bac Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-24Add jenkins build tag for result apiboucherv1-1/+2
Ex: jenkins-functest-compass-intel-pod8-daily-master-19 this will bring together all tests passed on the same functest run JIRA: FUNCTEST-140 Change-Id: I3c1cd8137184509ee5fdeeb2df5399d4c71e3f67 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-02-11Add project in push_to_db function of functests utils to allow external ↵Morgan Richomme1-0/+1
project onboarded in Functest to push their results Change-Id: I3a065e6ce82b1a87bbd07810f13df7d146655933 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-02Use openstack client to avoid keystone deprecation warningsjose.lausuch1-1/+1
Change-Id: Ib82b3f20d0c23fc67201c7159e3b3a6de5c201cf Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-01Merge "use scenario instead of git info in version field of the test results"Morgan Richomme1-3/+3
2016-02-01Add testcases results to DBlanqinglong1-6/+29
Change-Id: Iada89aa690f6b3f1d041328b641620ceb0279912
2016-02-01use scenario instead of git info in version field of the test resultsMorgan Richomme1-3/+3
Change-Id: Ie80cc39e64d0fe70981623229560aa145df95c50 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-29fix the bug of onos test reportlanqinglong1-3/+23
Change-Id: I34a068f991b89af6c65c895c7e9e604eac5dadf6
2016-01-28change for get joid onos iplanqinglong1-2/+17
2016-01-22modify onos functest to suit joid CIlanqinglong1-2/+1
Change-Id: Ib73d80e06042c849f8f627b252b28c2fb95a283d
2016-01-19Modify ONOS CI runninglanqinglong1-13/+120
Change-Id: I4b662b494c6c488d8643ec459a949b781ba3374a Signed-off-by: lanqinglong <lanqinglong@huawei.com>
2016-01-19Add mention to apache 2 license in Functest files and remove unused filesMorgan Richomme6-0/+41
Change-Id: Iaf67792ad61351d0573c8d92e5d78f5f7a6e86ff Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-15Modify ONOS test for CI runninglanqinglong6-26/+103
Change-Id: I2ce678c1239920071f9eeb6fe251a92cb3737e6a Signed-off-by: lanqinglong <lanqinglong@huawei.com>
2016-01-13Place config_functest.yaml outside the functest repojose.lausuch1-1/+1
If config_functest.yaml is given it will be placed in: /home/opnfv/functest/conf/config_functest.yaml If not given: copy default from repo to that location Change-Id: I816bf5ccf8e0a5b8ebde2a0ab924657533f49127 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-16Move the configuration from test scripts to config_functest.yamllanqinglong5-16/+49
JIRA:FUNCTEST-77 The configuration is in onos test files Get them out, put in config_functest.yaml Change-Id: I3f7b868b61a7e66596f7c0cc232c5b045d77aecb Signed-off-by: lanqinglong <lanqinglong@huawei.com>
2015-10-15Merge "Write a simple adapter in functest project to run TESTON"Morgan Richomme1-1/+9
2015-10-14intergrate the basic function senario and testcases in TESTONlanqinglong2-10/+33
JIRA:FUNCTEST-47 include tests: Northbound test Ovsdb test Change-Id: Icd5bc2da117cc5c2f7196a0f06fa8934fd8e022f Signed-off-by: lanqinglong <lanqinglong@huawei.com>
2015-10-13Write a simple adapter in functest project to run TESTONlanqinglong1-1/+9
JIRA:FUNCTEST-46 Add Env function: replace onos file Add log folder Change-Id: Ice2679ccf00258dfb206ab252590ec586b1d2c9d Signed-off-by: lanqinglong <lanqinglong@huawei.com>