summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-03-21[cloudify_ims] Change VNF flavor valueboucherv2-3/+3
Change-Id: I843f77fa5051a99be8bdbdbb76300ab965e9d8af Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-03-20Fix usage of v3 APIs of OpenStackMichael Pauls1-4/+7
Using OS_PROJECT_ID instead of OS_TENANT_NAME as tenant when onboarding a new VIM/PoP with Open Baton Change-Id: I873badc73e7b33179fa487505d18ce89840d6599 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
2017-03-20[vnf_base] improve exceptionboucherv3-18/+23
Return on part of previous changes in commit: 30257 https://gerrit.opnfv.org/gerrit/#/c/30257/ Change-Id: I11b33ee2a6f9d4cbcf1449006b47be508fce655e Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-03-20bug fix: version not retrieved on weekly jobsMorgan Richomme2-26/+1
a first fix had been done but the version was retrieved 2 times with the regex this patch removes the second regex and re-use get_version the associated unit tests has been removed because even if the build_tag is badly formated, it will not prevent the results to be pushed with version = unknown JIRA: FUNCTEST-765 Change-Id: I2cbe8ba1dd7278c3f3510a47c667c433f65e00f8 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-19Merge "Bug Fix: retrieve version from build tag in weekly jobs"Morgan Richomme2-5/+15
2017-03-19[cloudify_ims] fix signaling test errorboucherv1-3/+5
Change-Id: I6d6cf36c2a82df1ff9943cc3084b38967033bb94 Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-03-17Fix deployment flavor of orchestra machine; Improve bootstrapMichael Pauls2-3/+3
Change-Id: I3aa00be7e6e7d3e8de86a8b6a8e9564dc548a3d3 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
2017-03-17Bug Fix: retrieve version from build tag in weekly jobsMorgan Richomme2-5/+15
- fix regex issue - add unit test to cover weekly and dummy build tags - remove useless logs JIRA: FUNCTEST-765 Change-Id: I7a8d40b4662f4557cd080669da46fb1c32d2ad6d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-16Remove functest_defcore testcasesMorgan Richomme1-14/+0
refstack_defcore has been merged the testcase is no more needed (duplication) Change-Id: I287406b40cdd89ff2c4eadcde7e9d5a93e21953a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-16Merge "refstack-client: arm dockerfile support"Morgan Richomme1-0/+5
2017-03-16Bugfix: fix the criteria of refstack_defcoreLinda Wang1-1/+1
The criteria of refstack_defcore is supposed to be ">= 80%" rather than "== 80%". Change-Id: I9f9e38c84925c3725289e8b427e5735d131459f1 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-03-16Merge "Added Unit Tests for ci/generate_report with argument refactoring for ↵Morgan Richomme2-2/+131
main and init functions in generate_reports"
2017-03-16Merge "Added Unit Tests for ci/run_tests"Morgan Richomme1-0/+192
2017-03-16Merge "Added Unit Tests for ci/tier_handler"Morgan Richomme1-0/+128
2017-03-16Merge "Added Unit Tests for ci/tier_builder"Morgan Richomme1-0/+83
2017-03-16Merge "Parse refstack_defcore results"Morgan Richomme4-13/+88
2017-03-16Merge "env variable support for test DB url"Morgan Richomme2-2/+20
2017-03-15Parse refstack_defcore resultsLinda Wang4-13/+88
JIRA: DOVETAIL-366 JIRA: FUNCTEST-758 Parse refstack_defcore results, including: 1. show number of tests passed, skipped and failed 2. record the detailed info about testcases passed, skipped and failed. Change-Id: I355a907c5c9ea2739f845447144c62613ec3bb6a Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-03-15refstack-client: arm dockerfile supportMatthewLi1-0/+5
JIRA: FUNCTEST-758 JIRA: DOVETAIL-366 Change-Id: I02784263bca26a1bfc786949b933d688c35c950f Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-03-15Merge "refstack client integration"Morgan Richomme12-140/+742
2017-03-15refstack client integrationMatthewLi12-140/+742
JIRA: DOVETAIL-366 JIRA: FUNCTEST-758 usage: 1,functest testcase run refstack_defcore, will run the default testcases in defcore_201608.txt 2,cd <path>/functest/functest/opnfv_tests/openstack/refstack_client python refstack_client.py -c <tempest-conf-file-path> --testlist <testlist-path> this has been worked with openstack-refstack experts, etc. tested workedi. result see http://paste.openstack.org/show/602173/ Change-Id: I1aaffea01dec9dc8d1c572885bdf516614a16894 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-03-15env variable support for test DB urlMorgan Richomme2-2/+20
So far DB url was retrieved from configuration file If you want to use the CI chain (jenkins, testapi, test DB, functest, ..) then you have a problem calling functest will systematically point to the configuration from the repo Supporting env variable allow to avoid post processing in the configuration file and as a consequence offer the possibility to create a local DB to host local results Change-Id: Ie64b8b265827d7f5724c7066a8c173de8cf012e2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-15Added Unit Tests for ci/tier_builderashishk19941-0/+83
Change-Id: I66f43fb09472948bc71178cd8aeb14dc1ab5fa55 Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2017-03-15Added Unit Tests for ci/tier_handlerashishk19941-0/+128
Change-Id: I0b1d7efcf44c0ad2c1e8d3163fe72a61883eb86a Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2017-03-15Added Unit Tests for ci/run_testsashishk19941-0/+192
Change-Id: I5cd900cee809b8fd935a5c8b862a9ecd6278bdf5 Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2017-03-15Added Unit Tests for ci/generate_report withashishk19942-2/+131
argument refactoring for main and init functions in generate_reports Change-Id: I291d04a9c0ed381f4b92e989270c0b9a37c15264 Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2017-03-14bug fix: remove reference to ovnoMorgan Richomme4-4/+0
ovno has no danube branch and is not used clean the ovno from functest to avoid side effect when producing danube functest docker file Change-Id: I5347111fc90a04ca9018679b5578ca30ae33b2f2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-14[snaps] Pass flavor metadata to smoke testsMichael Polenchuk1-0/+1
Change-Id: I774d3625d35e3d264d609ba9aa7538a723923bcf Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-03-14[tempest/defcore] Configure volume device nameMichael Polenchuk3-2/+6
Actually attach_detach_volume must be skipped because the device name ain't reliable and that's using a hard-coded device name in config. This test should just get the device info after the attach and use that rather than the hard-coded config option in Tempest that ain't likely to work - the test should have been written more dynamically. However, set volume device name to "vdc" since "vdb" is used for config drive when force_config_drive=True is in action. Change-Id: Ic70de93a609df932c7749a94f71505e927df1b79 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-03-12Merge "Remove raise exceptions"valentin boucher2-14/+21
2017-03-10Remove raise exceptionsMorgan Richomme2-14/+21
until exceptions are better managed in abstraction Currently it triggers an exit from the jenkins job and prevent other tests to be run Change-Id: Id3b18c1d6d3b786fc78456b3ad51963d2cbb2cc1 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-10Merge "cloudify_ims: fix error on account creation"Morgan Richomme1-0/+3
2017-03-10cloudify_ims: fix error on account creationboucherv1-0/+3
Change-Id: I43550b2062c69d7b4eb144057a90806f92328739 Signed-off-by: boucherv <valentin.boucher@orange.com>