aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-08-02Add functest-features based on AlpineCédric Ollivier6-3/+107
It integrates the next testcases: - bgpvpn - security_scan - functest-odl-sfc - barometercollectd It also modifies several cmds in the former testcases.yaml to ensure backward compatibility. Depends-On: I75aaf950f7b072c142fa9894cef7ef7f057adac3 Depends-On: I50219cad42bf0e085c2edf2e1abe149c2e057a99 Change-Id: Idf3d6b4a769edd1a5401748886e0ed64d4f5f281 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-02Clean smoke requirementsCédric Ollivier1-7/+0
Change-Id: I16884fa550e9b42cd0b57338c4b8b6598ac33dbb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-02Add all ODL testcases in functest-smokeCédric Ollivier6-12/+77
It clones the related git repositories in /src and adapts the former Dockerfiles too. Change-Id: Ied5016f8cd5ed49f4e29bae5aa4413fad2477637 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-01Merge "Fixed test description for snaps_smoke."Jose Lausuch1-2/+2
2017-07-31Fixed test description for snaps_smoke.spisarski1-2/+2
Change-Id: Ia533337a07c3a47579d0fa97b6bb3b4b3daf94e5 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-07-27Omit space line in openrc fileLinda Wang2-6/+6
For alpine testing in compass OSA, sourcing openrc failed due to space lines included. Change-Id: I23166090a2fa7c2ce0aa03be581231cbb3cea34a Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-07-26Merge "Enable parser project"Serena Feng1-1/+0
2017-07-25Fix dockerfile patch for aarch64Delia Popescu1-1/+4
Patched the patch https://gerrit.opnfv.org/gerrit/#/c/37869/ Fixed some issues regarding spaces in the patch file Change-Id: Ieac4b766e36d274bd044cd4110626b5314ea6556 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-07-25Enable parser projectshangxdy1-1/+0
Enable parser project in functest Change-Id: I9bbf5dc5904f53d1a0a640726fbf57b2b702bdfe Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-07-21Modified Dockerfile.aarch to a patchDelia Popescu2-126/+58
Docker image for functest on ARM was build using a different Dockerfile. Now the ARM Dockerfile is created with a patch, in order to avoid modifying both files. This Dockerfile.aarch64.patch is applied by opnfv-docker.sh from releng project. Change-Id: Ib3d4230b79811a9c563b2687a78e8c4724f7efc7 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-07-20Merge "Add AARCH64 images back to Functest"Jose Lausuch1-1/+16
2017-07-19Merge "Save space in Alpine containers"Cedric Ollivier2-3/+3
2017-07-19Merge "Add script to build all containers"Cedric Ollivier5-2/+31
2017-07-19Add id to test_list for tempest_customLinda Wang1-2/+2
Tempest_custom will fail if only the test name is provided without id. Change-Id: I170eff4215bcb09c6469072079091670aabaad5b Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-07-18Merge "Change calls to SNAPS library exposing OpenStack instance objects."Jose Lausuch2-2/+2
2017-07-18Add AARCH64 images back to Functestdeliamadalina1-1/+16
aarch64 path files is reupdated with aarch64 cirros images Functest is now able to run on aarch64 too, using the appropriate images JIRA: ARMBAND-279 Change-Id: I05de0cb8315a33322225a6caedaa64a5a4833e4e Signed-off-by: Delia Popescu <delia.popescu@enea.com> Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
2017-07-17Merge "Conform the RefStack testcase with the Rally context"Jose Lausuch1-4/+9
2017-07-17Merge "Wait for refstack-client to finish"Jose Lausuch1-31/+18
2017-07-17Save space in Alpine containersCédric Ollivier2-3/+3
It decreases the size of Functest core and smoke containers by 20%. Change-Id: Id75117b1404e3cce004ef51c61040cdb7ade6976 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-17Merge "Remove add_images.sh"Jose Lausuch5-35/+34
2017-07-17Add script to build all containersCédric Ollivier5-2/+31
It also sets opnfv as default repository as they will be pushed by releng. It adds hooks asked for automated build via Docker which allows continuous integration before the update of jjobs. Change-Id: I08b55b1ff334afe6c0f58af3100cfa04f76d8ef0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-17Conform the RefStack testcase with the Rally contextCédric Ollivier1-4/+9
If the RefStack testcase relies on the Tempest configuration generated by Rally, it must conforms with the related context [1]. [1] https://raw.githubusercontent.com/openstack/rally/0.9.1/rally/plugins/openstack/verification/tempest/context.py Change-Id: Ia62c0a328c53a1541aeaf8668e1f34ae67898eed Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-17Wait for refstack-client to finishCédric Ollivier1-31/+18
The previous implementation waited for /bin/sh to finish instead of refstack-client. Then tempest still ran in background even if the tescase was considered as finished. Now all tempest logs are only printed in the dedicated file. Change-Id: I94cd7c6fe68f3bc21782d8d9c43feee338c103ae Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-15Merge "Release notes for Danube.3.0"Jose Lausuch1-131/+87
2017-07-15Merge "Correct odl port for compass installer"Cedric Ollivier2-2/+2
2017-07-14Change calls to SNAPS library exposing OpenStack instance objects.spisarski2-2/+2
Openstack object structures can change when new API versions are released and SNAPS no longer is exposing OpenStack object implementations as this makes the library brittle. The only two SNAPS method calls affected are when functest needs to query for external networks and when vPing Userdata needs to obtain the console logs. JIRA: SNAPS-125 Change-Id: If6000e50eaa274713d9a6c964eabd1f73ded684e Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-07-14Merge "Use decorators for mock patching"Jose Lausuch1-281/+272
2017-07-14Release notes for Danube.3.0jose.lausuch1-131/+87
Change-Id: I528b4ef11b5957856c36c0f18c0aa28a38d450a4 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-14Merge "Release notes for Danube 2.0"Jose Lausuch3-82/+83
2017-07-13Remove add_images.shjose.lausuch5-35/+34
The Docker images should not host any OS image. They shall be pre-downloaded and mounted as a docker volume to the functest container. Also, add scenario argument to skip images that are not needed for the scenario Change-Id: I652ec32b177ddea73c8a253359e873f13bf0c950 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-13Fix some issues in cloudify_imsboucherv3-31/+43
- Blocking ssh - Timeout for SCP - Debug in clearwater-ims-base - Flavor with snaps Change-Id: Ib11a4ebf20e698caccbb16920ae7d715f931fc58 Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-07-13Correct odl port for compass installerYifei Xue2-2/+2
For the port 8181 has been used by OSA repo LXC in compass deployment. So we change the port here in functest to 8080. Change-Id: Ia262319f7513497db6e849521de6be6328ec97ba Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-07-13Release notes for Danube 2.0jose.lausuch3-82/+83
Change-Id: Ibe121dad771f0df36ffa15ec13d637b835cf09a8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-12Merge "Switch to check_deployment instead of check_os.sh"Morgan Richomme7-179/+24
2017-07-12Switch to check_deployment instead of check_os.shjose.lausuch7-179/+24
Change-Id: Idcc67643f813068c3cd06f4c0dfd3289bb7df138 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-12Merge "Add odl configurations for odl testcase in daisy environment"Cedric Ollivier2-0/+19
2017-07-12Merge "New python script to check openstack deployment"valentin boucher3-0/+340
2017-07-12Add odl configurations for odl testcase in daisy environmentAlex Yang2-0/+19
To support odl testcase in the environment deployed by daisy installer. Change-Id: I70bc668520cf28385fcff8489c773b880e7b4080 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-07-11Merge "Add openssh-client in core"Cedric Ollivier1-1/+1
2017-07-11Use decorators for mock patchingMartin Kulhavy1-281/+272
Instead of using the `with` clause, mock patching is prepended to each testing method as a decorator. Change-Id: Ieb962d6fd0b9a6cdc649c44e39f69b543426dce9 Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
2017-07-11Add openssh-client in coreCédric Ollivier1-1/+1
It's required by snaps ansible tests. Change-Id: Iebd4c7b8de8637a18dd40040749b9a1a0781fff2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-11Add decorators in testcases for energy recording.Benoit HERARD8-207/+295
Test cases are: - rally (sanity and full) - refstack - cloudify_ims - vping_ssh It also fix a bug on "energy_recording" decorator of energy module. Change-Id: I625c214552ad1b89eaf7e196e706d7c69b37da33 Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
2017-07-11New python script to check openstack deploymentjose.lausuch3-0/+340
This is a crucial part of functest env prepare. The former check_os.sh is missing some error control and is sometimes trying to connect to an empty endpoint if the sed/awk commands were wrong. This python script is more robust in that sense. You can see an example of execution in [1]. [1] http://paste.openstack.org/raw/614852/ Change-Id: I622befa13b58d2d31a08d307befb12a2be28fe4d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-11Merge "Define CMD in smoke and healthcheck containers"Jose Lausuch2-0/+2
2017-07-11Merge "Download Functest's upper-constraints.txt"Jose Lausuch7-71/+28
2017-07-11Merge "Add upper-constraints.txt for Functest"Jose Lausuch12-41/+106
2017-07-11Merge "Add lesser containers based on Alpine"Jose Lausuch6-0/+213
2017-07-11Merge "Allow regex for blacklist scenarios/installers"Cedric Ollivier3-12/+68
2017-07-10Merge "Stop redefining $HOME"Morgan Richomme3-11/+5
2017-07-10Merge "Get rid of install_rally.sh"Jose Lausuch2-6/+6