aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests
AgeCommit message (Collapse)AuthorFilesLines
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-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-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 Lausuch1-1/+1
2017-03-22refstack: bugfix of testcase failureMatthewLi1-1/+1
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 changes from topics '644', 'improve_unix_permission_check'Cedric Ollivier10-0/+0
* changes: Change execute bits Improve unix permissions fixes
2017-03-22Merge "Respect common unix permissions"Cedric Ollivier2-0/+0
2017-03-21Change execute bitsCédric Ollivier10-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-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-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 exceptionboucherv1-0/+4
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-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-15Parse refstack_defcore resultsLinda Wang2-1/+87
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-15[fuel] Skip test_server_basic_ops tempest testMichael Polenchuk1-0/+16
Tempest ssh client is hanging on opendaylight enabled envs (getting deadlock in paramiko recv_exit_status method) while trying to execute a command on a vm. Change-Id: I6660cebc6bc44a5f02e6a1e83ee9a61bae141746 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-03-15Merge "refstack client integration"Morgan Richomme5-57/+512
2017-03-15refstack client integrationMatthewLi5-57/+512
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-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 Polenchuk2-2/+5
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-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>
2017-03-10Merge "cloudify_ims: fix sip public domain name"Morgan Richomme1-1/+1
2017-03-10cloudify_ims: fix sip public domain nameboucherv1-1/+1
Change-Id: I25423cc3fbab54f81047fbebd0bc33895d826186 Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-03-10Merge "Unit tests added for openstack/tempest"Morgan Richomme1-5/+0
2017-03-10Merge "Show verification details in tempest log"Morgan Richomme1-1/+2
2017-03-09Merge "fix vnf deployment"Morgan Richomme1-1/+1
2017-03-09fix vnf deploymentboucherv1-1/+1
Change-Id: If92c7d402b88f59367564f7279d426eb8f3b582a Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-03-09Show verification details in tempest logJuha Kosonen1-1/+2
JIRA: FUNCTEST-747 Change-Id: I85f15188315136cc44876914325e3693f7973af8 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-03-09Merge "Introduce smoke tests for FDS"Morgan Richomme1-7/+9
2017-03-09Introduce smoke tests for FDSTomas Cechvala1-7/+9
Added: - fds repository to docker file - fds test to smoke tier in testcases - config values for fds tests A new robot var OS_AUTH_URL is defined as expected by FDS robot files. Method args switch from Keystone IP to OS_AUTH_URL which is more precised. The argument parsing is changed too. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ife27ab4a83f0110cbdcf7c9d47d9b3fb4c0ec705 Signed-off-by: Tomas Cechvala <tcechval@cisco.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-03-09Revert "Change barometer target log file"Morgan Richomme1-4/+1
This reverts commit 044de9eb0c74fb2ef9cb34b6487bf0536412058d. Change-Id: I9179f4b5ce866456e8ec85cb8a730a5d7f2af16e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-09Change barometer target log fileMorgan Richomme1-2/+2
Change-Id: Id903683b12366c5a2f486c8b7d7ce6977d4448e0 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-09Install kingbird verifier extension for tempestJuha Kosonen2-0/+25
JIRA: FUNCTEST-742 Change-Id: I5de8ed22932250c542751e38eae3185c4a263cd0 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-03-08Aarch64 adaption in functest for snaps smokeCristina Pauna1-0/+7
This commit sends the aarch64 custom config to the snaps integration tests. Since these are the same as the snaps healthcheck, no additional values were added to config_aarch64_patch.yaml Change-Id: I5f2302a3c65d47ec8fca661888268489e2c6ba35 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-03-08Added support for scenario-based flavor creation.spisarski5-22/+49
As certain scenarios such as, DPDK, FDIO, and OVS use cases require special 'hw:' settings to flavors, SNAPS-OO has just implemented the ability to take in these configuration values to apply to its integration tests. This change checks the scenario and should be configuring the flavor metadata accordingly. Also see SNAPS-38 Used this as an opportunity to refactor the SNAPS test classes as well... JIRA: FUNCTEST-746 Change-Id: I63535776acde088a7461f602966a324b6207592d Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-03-07Merge "delete ft_constants and file functest_constants.py"Morgan Richomme1-19/+19
2017-03-07Merge "Bugfix: make security_scan authorized"Morgan Richomme1-2/+2
2017-03-07delete ft_constants and file functest_constants.pySerenaFeng1-19/+19
delete no longer used ft_constants in run_test.py substitute ft_constants with CONST in foundation.py and remove useless str() finally delete not-used file functest_constants.py Change-Id: I109a5409e501b610f41aae7d75c55ca745a3d4c1 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-06Aarch64 adaption in functest for snaps healthcheckCristina Pauna1-1/+6
This commit is half of the fix for adapting the snaps healthcheck to run on an aarch64 POD. The fix consists in reading the custom parameters and passing them to the snaps test The snaps part that uses this info is https://gerrit.opnfv.org/gerrit/29853 JIRA: ARMBAND-222 Change-Id: I2027f2ef3afe0caddef781771f2190fc173aff8c Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-03-03Bugfix: make security_scan authorizedLinda Wang1-2/+2
JIRA: FUNCTEST-732 "OS_AUTH_URL" in the file "stackrc" in undercloud is needed when trying to obtain controller and compute nodes of openstack. Thus, when running the security_scan.py, source stackrc is needed. This patch will make security_scan work in CI until the patch in securityscanning repo is merged: https://gerrit.opnfv.org/gerrit/#/c/29705/ Change-Id: I379c3a71522973887d1ea698ab1df761354e6c36 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-03-02Integration of orchestra projectMichael Pauls2-74/+151
JIRA: FUNCTEST-726 Change-Id: If53e11136ccfacad9e9827e1c0397304acfdd7b2 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
2017-03-01Merge "Adopt TestcaseBase for ONOS and ONOS SFC"Jose Lausuch3-261/+225
2017-03-01Adopt TestcaseBase for ONOS and ONOS SFChelenyao3-261/+225
1. Adopted TestcaseBase for ONOS and ONOS SFC 2. Removed the ONOS testcase from exec_test.sh This patch is not meant to refactor the code which can be improved in a later patch. Change-Id: Ib8ac47742f598648c7575c9a8968477307629d42 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-03-01Unit tests added for openstack/tempestashishk19941-5/+0
_parse_verification_id method is removed as it is not used anywhere Change-Id: Ia2bc75ffbc2527b04cbe2428e2a3822803bde215 Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2017-03-01Merge "Re-enable the tests for bgpvpn scenario wich use floating ips"Jose Lausuch1-19/+0
2017-03-01Merge "Update cirros image to latest version"Morgan Richomme2-2/+2