aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-27Rename testcase_base to testcaseCédric Ollivier21-116/+116
It simply removes the useless suffix. Change-Id: Ib9a682b57d8f33518359d817a593bb3786577390 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-03-27Switch TestcaseBase to TestCaseCédric Ollivier18-108/+108
It partially reverts "Rename TestCasesBase into TestcaseBase" [1] and removes the useless suffix too. [1] https://gerrit.opnfv.org/gerrit/#/c/25391/ Change-Id: Iddf2ec8d6c1dafe6e4c6713c2e69969613317471 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-03-27Merge "Fix pylint warnings in test_testcase_base"Cedric Ollivier1-5/+6
2017-03-27Merge "Fix pylint warnings in testcase_base"Morgan Richomme1-2/+3
2017-03-27Merge "Update documentation for Danube"Morgan Richomme12-848/+902
2017-03-26Fix pylint warnings in test_testcase_baseCédric Ollivier1-5/+6
It takes into account the following warnings: - wrong-import-order - no-value-for-parameter The 'no-value-for-parameter' warnings are false positive. The added default values are useless but avoid them. Change-Id: I50d0af178d9da668a3c72e75f5af467d36ca0e6a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-03-26Fix pylint warnings in testcase_baseCédric Ollivier1-2/+3
It takes into account the following warnings: - bare-except - unused-argument - broad-except Change-Id: I3a50bf6d07823edc80a7f0f78f46681ace7f4a39 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-03-25Merge "Fix Dockerfile.aarch64"Jose Lausuch1-4/+4
2017-03-25Merge "Printing the flavor_metadata for SnapsTestRunner"Jose Lausuch1-1/+4
2017-03-25Fix Dockerfile.aarch64Linda Wang1-4/+4
Bugfix for error: https://build.opnfv.org/ci/view/functest/job/functest-docker-build-arm-push-master/99/console Change-Id: I04b45c05d4bb48c9b5b55050addce707177abcd4 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-03-25Merge "Change api version"Helen Yao1-2/+2
2017-03-24Update documentation for DanubeMorgan Richomme12-848/+902
JIRA: FUNCTEST-559 JIRA: FUNCTEST-560 Change-Id: I2104a9b68bb3985c9f5900ebc30bab89b09b7835 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-24Printing the flavor_metadata for SnapsTestRunnerrandyl1-1/+4
Need to print what is being tested to debug and verify results. JIRA : FUNCTEST-768 This is needed by the Apex team for the danube release. Change-Id: Ie7400af14f7e54d1deb5b2b5d2fc91eb5b14ca91 Signed-off-by: randyl <r.levensalor@cablelabs.com>
2017-03-24Change api versionDimitri Mazmanov1-2/+2
The api_version had full API url instead of just the version. Change-Id: I78b39ea5d39e1ffab54d2bca41df96aadd47ac86 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-03-24Merge "Clean redundant error logs of refstack_defcore in the console"Jose Lausuch2-15/+16
2017-03-23Fix VIM onboardingMichael Pauls1-1/+7
Usage openstack client in order to get project id directly Change-Id: Id75dcd594430501152c3ba02a969ac1a2aaaadc5 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
2017-03-23Merge "bug fix: unit test on openstack_utils"Morgan Richomme1-1/+1
2017-03-23Merge "Replace domain name from Default to default"Jose Lausuch1-1/+5
2017-03-23bug fix: unit test on openstack_utilsMorgan Richomme1-1/+1
test_check_credentials_missing_env was corrected but correction lead to good execution but false results Change-Id: I47ff7d6aa0d5dda78cd978f1905b570c02160a8a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-23Merge "[fuel] Skip test_server_basic_ops tempest test"Jose Lausuch1-0/+16
2017-03-23Merge "Ignore certain modules for logging"Jose Lausuch1-1/+12
2017-03-23Clean redundant error logs of refstack_defcore in the consoleLinda Wang2-15/+16
1. Remove the file "refstack-error.log", and all the stderr and stdout will be stored in refstack.log 2. Clean redundant error logs in the console and all the detailed error logs will be found in refstack.log. Change-Id: I7e71567c98dc89c529421eccbf1b497962b07405 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-03-23Merge "Enable functest offline by installing tempest system wide"Jose Lausuch3-1/+17
2017-03-23Merge "Switch test_db_url to a directory"Morgan Richomme2-1/+10
2017-03-23Merge "Make SFC test a python call to main()"Morgan Richomme1-2/+4
2017-03-23Merge "Add reveal.js as a submodule"valentin boucher7-55/+49
2017-03-23Replace domain name from Default to defaultDimitri Mazmanov1-1/+5
The tests don't pass if the domain name is Default. Instead the domain id 'default' should be used. Change-Id: Ife919f79f007ab3fea3d53744634a92ddb172c23 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-03-23Merge "Support running on openstack which enabled https"Jose Lausuch3-11/+43
2017-03-22Merge "Fix Dockerfile"Jose Lausuch1-4/+4
2017-03-22Ignore certain modules for loggingjose.lausuch1-1/+12
Some modules are logged to functest.log or the console and are not relevant for us since they are already in the openstack logs. This causes a huge log which makes it unreadable. Change-Id: I3f0fb83e2080e41cd5bf815f8448f5bc25e3464a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-03-22Make SFC test a python call to main()jose.lausuch1-2/+4
Instead of python -> bash -> python, call the SFC test using the execute() method that is inherited from FeatureBase and it's a bash call by default. With this change, we call the SFC test using main() of run_tests.py of SFC repo and will have real time output. Change-Id: I6d59821e603c88697a82b95c5626c5b703c11026 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-03-22Disable blocking status for odl_netvirtJamo Luhrsen1-1/+1
Change-Id: I4a3f10a82d3109a44f8db237cbd7beda06a361da Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-03-22Fix Dockerfilejose.lausuch1-4/+4
Bugfix for error: https://build.opnfv.org/ci/job/functest-docker-build-push-master/1001/console Change-Id: I4bc398ecfaa5163e7ee271dd5b67b3d953fb59b1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-03-22Switch test_db_url to a directoryxudan2-1/+10
We must now set a dir (e.g. /home/opnfv/db) to dump results. It avoids replacing "results" and prevent from limiting the use of this decorator. All data will be dumped into url/dump.txt As also proposed in FUNCTEST-729, missing directories are created too. The decorator will raise exceptions if dir exists or if target is not a directory. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> JIRA: FUNCTEST-729 Change-Id: I9650c72493043539f17725f5c328c12639ecc059 Signed-off-by: xudan <xudan16@huawei.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-03-22Merge "bugfix: fail to push odl-sfc test result to TestDB"Morgan Richomme1-1/+1
2017-03-22bugfix: fail to push odl-sfc test result to TestDBSerenaFeng1-1/+1
'functest-odl-sfc"' will appear as [functest-odl-sfc"], tailing with ", it is not defined in TestDB. led to failure pushing Change-Id: I43966236e25578aed12952710b22ba99e244cf56 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-22Merge "refstack: bugfix of testcase failure"Jose Lausuch2-2/+2
2017-03-22refstack: bugfix of testcase failureMatthewLi2-2/+2
JIRA: DOVETAIL-366 JIRA: DOVETAIL-758 1)for compass, joid, failure log https://build.opnfv.org/ci/view/functest/job/functest-joid-baremetal-daily-master/1062/consoleFull https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-master/936/consoleFull volume_device_name should be set vdb. for fuel, "vdb" is used for config, drive when force_config_drive=True is in action, so set to vdc testcase test_attach_detach_volume is not dynamic enough, to skip temporarily. 2)rename defcore_201608.txt to defcore.txt since this file is the default running file, can be changed as version changes. and will be easy for dovetail to consume with a general name rather than a special name. then dovetail can define the testcases to replace this file when running. Change-Id: I58f89095721a7bdb15230b9af2b96234c3c7dcb9 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-03-22Merge "Update keys of details dic for refstack_defcore"Morgan Richomme1-3/+3
2017-03-22Merge "Set refstack_defcore criteria to 100%"Morgan Richomme1-1/+1
2017-03-22Merge changes from topics '644', 'improve_unix_permission_check'Cedric Ollivier17-4/+28
* changes: Change execute bits Improve unix permissions fixes
2017-03-22Merge "Respect common unix permissions"Cedric Ollivier2-0/+0
2017-03-21Merge "bug fix: version not retrieved on weekly jobs"Morgan Richomme2-26/+1
2017-03-21Change execute bitsCédric Ollivier15-0/+0
It applies the rules proposed by "Improve unix permissions fixes" [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/31171/ Change-Id: If5142befb74165a982f9281e8770289b303d483d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-03-21Improve unix permissions fixesCédric Ollivier2-4/+28
It now removes exec permissions for files which don't require them. It prevents from modifying files in functest_venv too. Change-Id: I3c88817713711a0009a7392f19fe5ccc63ba98cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-03-21Merge "[cloudify_ims] Change VNF flavor value"valentin boucher2-3/+3
2017-03-21Merge "Remove functest_defcore testcases"Morgan Richomme1-14/+0
2017-03-21Respect common unix permissionsCédric Ollivier2-0/+0
It was fixed by the following rule: find ${FUNCTEST_REPO_DIR} -name "*.py" \ -not -path "*tests/unit*" |xargs grep __main__ \ |cut -d\: -f 1 |xargs chmod -c 755 && find ${FUNCTEST_REPO_DIR} -name "*.sh" \ |xargs grep \#\! |cut -d\: -f 1 |xargs chmod -c 755 Change-Id: I23fab3ff90d41d040264b5b8c0e425b6a42c7e55 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-03-21Update keys of details dic for refstack_defcoreLinda Wang1-3/+3
Update the keys of details in refstack_defcore ("num_tests", "num_failures", and "failed") to "tests", "failures" and "errors", in order to be consistent with those in tempest. Change-Id: I24f8a23548ffa253621083bbf6eb988306fd6edb Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-03-21Set refstack_defcore criteria to 100%Linda Wang1-1/+1
In order to be consistent with other tests, set refstack_defcore criteria to 100%. Change-Id: Iab8bc0cb66b834a661b860a032192d502fde578b Signed-off-by: Linda Wang <wangwulin@huawei.com>