aboutsummaryrefslogtreecommitdiffstats
path: root/functest
AgeCommit message (Collapse)AuthorFilesLines
2017-08-16Use separate timeouts for connection and reading.Benoit HERARD1-5/+6
Use a short timeout for connection timeout to avoid to slow down testcase when remote recording API is not available and use a longer one to read data from API on successfull connections. Change-Id: I743c02f890059bf55b47cb4240d52fe0741f7cae Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
2017-08-16Revert "Enable parser project"Cedric Ollivier1-0/+1
This reverts commit 39e2116d5ff360dae7159f5557caa2b2a46c48b2. Change-Id: I7c0b63b22c5cf6e9fa2ee1f182abad96a3931098 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-10Merge "Integrate the netready package"Cedric Ollivier2-2/+1
2017-08-10Merge "Integrate the promise package"Cedric Ollivier1-1/+1
2017-08-10Fix the logic of adding/updating tempest.confLinda Wang2-4/+3
Change-Id: I850311a9306607106836f24594019e98d2fd9499 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-10Integrate the netready packageCédric Ollivier2-2/+1
It also adds the related testcases in functest-features. Change-Id: I584da9d890622c1bdd2ace0b12b4be37250fda56 Depends-On: I3842e6828f60972cb1df0bc15f849cd08badd895 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-10Integrate the promise packageCédric Ollivier1-1/+1
Change-Id: I128bfa62b9ccd8e53683def329e8470693c2e556 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-10Merge "Improved error handling when Energy recorder API is unavailable."Morgan Richomme2-109/+183
2017-08-10Merge "Record the test cases passed in tempest"Cedric Ollivier3-12/+48
2017-08-10Merge "Add copper and domino in functest-features"Cedric Ollivier3-6/+4
2017-08-10Merge "Fix import and docstrings in onos/teston"Cedric Ollivier2-12/+12
2017-08-10Merge "Remove rnc unit test dir as empty"Cedric Ollivier1-0/+0
2017-08-10Merge "Add functest-features based on Alpine"Cedric Ollivier1-2/+2
2017-08-10Merge "Add/Update tempest.conf via a specific file"Morgan Richomme5-4/+42
2017-08-10Merge "Add all ODL testcases in functest-smoke"Cedric Ollivier3-9/+9
2017-08-10Merge "Restrict ping only once in ping.sh"Morgan Richomme1-11/+8
2017-08-10Add/Update tempest.conf via a specific fileLinda Wang5-4/+42
Provides a convenient way to configure all params which users required. JIRA: FUNCTEST-860 Change-Id: Iadfb704285f94530e1023ee780138f22dd672d33 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-09Record the test cases passed in tempestLinda Wang3-12/+48
Also, convert the test cases recorded with string into list Change-Id: Ie3980a555b4042e6fe9706320d33d4ec4c06ea0c Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-09Merge "Configure AARCH64 image settings for UEFI"Linda Wang1-8/+6
2017-08-09Improved error handling when Energy recorder API is unavailable.Benoit HERARD2-109/+183
Log verbosity is reduced when API is discovered unavailable. Avoid next calls to API if unavailable at config loading. Change-Id: I68d169396335ae3891e4b808062058945fc2eca1 Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
2017-08-08Merge "update/improve orchestra_ims"Morgan Richomme4-339/+800
2017-08-08Configure AARCH64 image settings for UEFIDelia Popescu1-8/+6
Configure one parted AARCH64 Cirros image settings for AAVMF(UEFI) Change-Id: I28ca1ead06c1153e2483c163af9da8e70736ac1c Signed-off-by: Delia Popescu <delia.popescu@enea.com> JIRA: ARMBAND-279
2017-08-07Add copper and domino in functest-featuresCédric Ollivier3-6/+4
Change-Id: I6f7a35b84c9b7f8cde88998f545b30cc200c8ff1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-03Fix import and docstrings in onos/testonCédric Ollivier2-12/+12
Change-Id: Ie38f3b0ab8805cd7ca3e946533be37598be9434e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-02Remove rnc unit test dir as emptyCédric Ollivier1-0/+0
Change-Id: Id52e49b41f36c58a849c304eed543f8a8465ff9e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-02Add functest-features based on AlpineCédric Ollivier1-2/+2
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-02Add all ODL testcases in functest-smokeCédric Ollivier3-9/+9
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-07-29Restrict ping only once in ping.shLinda Wang1-11/+8
Otherwise, it makes no sense to configure ping_timeout as 200 times. Change-Id: I6e15f5149f24a4316f6d5b70bcda9a46418d1522 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-07-28update/improve orchestra_imsMichael Pauls4-339/+800
-enable orchestra_ims testcase -update orchestra_ims according to restructed vnf base class -SNAPS integration -improve code based on pylint suggestions -add unit tests (to be completed) Change-Id: Id12f645c76096376b8a867bf36d7bbb69bac58e7 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
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-25Enable parser projectshangxdy1-1/+0
Enable parser project in functest Change-Id: I9bbf5dc5904f53d1a0a640726fbf57b2b702bdfe Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-07-20Merge "Add AARCH64 images back to Functest"Jose Lausuch1-1/+16
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-17Merge "Remove add_images.sh"Jose Lausuch1-10/+34
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 "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-13Remove add_images.shjose.lausuch1-10/+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-12Merge "Switch to check_deployment instead of check_os.sh"Morgan Richomme5-177/+23
2017-07-12Switch to check_deployment instead of check_os.shjose.lausuch5-177/+23
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 boucher2-0/+339