functest-xtesting.git
7 years agoMerge "Add/Update tempest.conf via a specific file"
Morgan Richomme [Thu, 10 Aug 2017 08:56:10 +0000 (08:56 +0000)]
Merge "Add/Update tempest.conf via a specific file"

7 years agoMerge "Clean smoke requirements"
Cedric Ollivier [Thu, 10 Aug 2017 08:21:36 +0000 (08:21 +0000)]
Merge "Clean smoke requirements"

7 years agoMerge "Add all ODL testcases in functest-smoke"
Cedric Ollivier [Thu, 10 Aug 2017 08:21:28 +0000 (08:21 +0000)]
Merge "Add all ODL testcases in functest-smoke"

7 years agoMerge "Restrict ping only once in ping.sh"
Morgan Richomme [Thu, 10 Aug 2017 07:48:37 +0000 (07:48 +0000)]
Merge "Restrict ping only once in ping.sh"

7 years agoAdd/Update tempest.conf via a specific file
Linda Wang [Thu, 10 Aug 2017 02:37:56 +0000 (02:37 +0000)]
Add/Update tempest.conf via a specific file

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>
7 years agoMerge "Configure AARCH64 image settings for UEFI"
Linda Wang [Wed, 9 Aug 2017 08:30:30 +0000 (08:30 +0000)]
Merge "Configure AARCH64 image settings for UEFI"

7 years agoMerge "update/improve orchestra_ims"
Morgan Richomme [Tue, 8 Aug 2017 09:07:33 +0000 (09:07 +0000)]
Merge "update/improve orchestra_ims"

7 years agoConfigure AARCH64 image settings for UEFI
Delia Popescu [Tue, 8 Aug 2017 07:49:20 +0000 (10:49 +0300)]
Configure AARCH64 image settings for UEFI

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

7 years agoClean smoke requirements
Cédric Ollivier [Tue, 18 Jul 2017 04:30:14 +0000 (06:30 +0200)]
Clean smoke requirements

Change-Id: I16884fa550e9b42cd0b57338c4b8b6598ac33dbb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAdd all ODL testcases in functest-smoke
Cédric Ollivier [Tue, 18 Jul 2017 04:18:21 +0000 (06:18 +0200)]
Add all ODL testcases in functest-smoke

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>
7 years agoMerge "Fixed test description for snaps_smoke."
Jose Lausuch [Tue, 1 Aug 2017 09:09:35 +0000 (09:09 +0000)]
Merge "Fixed test description for snaps_smoke."

7 years agoFixed test description for snaps_smoke.
spisarski [Mon, 31 Jul 2017 15:11:00 +0000 (09:11 -0600)]
Fixed test description for snaps_smoke.

Change-Id: Ia533337a07c3a47579d0fa97b6bb3b4b3daf94e5
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
7 years agoRestrict ping only once in ping.sh
Linda Wang [Sat, 29 Jul 2017 03:37:46 +0000 (03:37 +0000)]
Restrict ping only once in ping.sh

Otherwise, it makes no sense to configure ping_timeout as
200 times.

Change-Id: I6e15f5149f24a4316f6d5b70bcda9a46418d1522
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoupdate/improve orchestra_ims
Michael Pauls [Fri, 28 Jul 2017 19:00:13 +0000 (21:00 +0200)]
update/improve orchestra_ims

-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>
7 years agoOmit space line in openrc file
Linda Wang [Thu, 27 Jul 2017 01:42:51 +0000 (01:42 +0000)]
Omit space line in openrc file

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>
7 years agoMerge "Enable parser project"
Serena Feng [Wed, 26 Jul 2017 01:33:53 +0000 (01:33 +0000)]
Merge "Enable parser project"

7 years agoFix dockerfile patch for aarch64
Delia Popescu [Tue, 25 Jul 2017 07:25:32 +0000 (10:25 +0300)]
Fix dockerfile patch for aarch64

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>
7 years agoEnable parser project
shangxdy [Tue, 25 Jul 2017 09:43:45 +0000 (17:43 +0800)]
Enable parser project

Enable parser project in functest

Change-Id: I9bbf5dc5904f53d1a0a640726fbf57b2b702bdfe
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
7 years agoModified Dockerfile.aarch to a patch
Delia Popescu [Thu, 20 Jul 2017 14:55:09 +0000 (17:55 +0300)]
Modified Dockerfile.aarch to a patch

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>
7 years agoMerge "Add AARCH64 images back to Functest"
Jose Lausuch [Thu, 20 Jul 2017 12:42:46 +0000 (12:42 +0000)]
Merge "Add AARCH64 images back to Functest"

7 years agoMerge "Save space in Alpine containers"
Cedric Ollivier [Wed, 19 Jul 2017 09:32:37 +0000 (09:32 +0000)]
Merge "Save space in Alpine containers"

7 years agoMerge "Add script to build all containers"
Cedric Ollivier [Wed, 19 Jul 2017 09:32:25 +0000 (09:32 +0000)]
Merge "Add script to build all containers"

7 years agoAdd id to test_list for tempest_custom
Linda Wang [Wed, 19 Jul 2017 05:16:02 +0000 (05:16 +0000)]
Add id to test_list for tempest_custom

Tempest_custom will fail if only the test name is provided without id.

Change-Id: I170eff4215bcb09c6469072079091670aabaad5b
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Change calls to SNAPS library exposing OpenStack instance objects."
Jose Lausuch [Tue, 18 Jul 2017 13:47:00 +0000 (13:47 +0000)]
Merge "Change calls to SNAPS library exposing OpenStack instance objects."

7 years agoAdd AARCH64 images back to Functest
deliamadalina [Mon, 17 Jul 2017 11:32:41 +0000 (14:32 +0300)]
Add AARCH64 images back to Functest

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>
7 years agoMerge "Conform the RefStack testcase with the Rally context"
Jose Lausuch [Mon, 17 Jul 2017 11:05:45 +0000 (11:05 +0000)]
Merge "Conform the RefStack testcase with the Rally context"

7 years agoMerge "Wait for refstack-client to finish"
Jose Lausuch [Mon, 17 Jul 2017 11:05:13 +0000 (11:05 +0000)]
Merge "Wait for refstack-client to finish"

7 years agoSave space in Alpine containers
Cédric Ollivier [Mon, 17 Jul 2017 10:31:06 +0000 (12:31 +0200)]
Save space in Alpine containers

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>
7 years agoMerge "Remove add_images.sh"
Jose Lausuch [Mon, 17 Jul 2017 07:36:38 +0000 (07:36 +0000)]
Merge "Remove add_images.sh"

7 years agoAdd script to build all containers
Cédric Ollivier [Tue, 11 Jul 2017 21:53:36 +0000 (23:53 +0200)]
Add script to build all containers

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>
7 years agoConform the RefStack testcase with the Rally context
Cédric Ollivier [Sat, 15 Jul 2017 08:53:02 +0000 (10:53 +0200)]
Conform the RefStack testcase with the Rally context

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>
7 years agoWait for refstack-client to finish
Cédric Ollivier [Fri, 14 Jul 2017 19:05:17 +0000 (21:05 +0200)]
Wait for refstack-client to finish

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>
7 years agoMerge "Release notes for Danube.3.0"
Jose Lausuch [Sat, 15 Jul 2017 15:30:54 +0000 (15:30 +0000)]
Merge "Release notes for Danube.3.0"

7 years agoMerge "Correct odl port for compass installer"
Cedric Ollivier [Sat, 15 Jul 2017 13:49:02 +0000 (13:49 +0000)]
Merge "Correct odl port for compass installer"

7 years agoChange calls to SNAPS library exposing OpenStack instance objects.
spisarski [Fri, 14 Jul 2017 19:49:45 +0000 (13:49 -0600)]
Change calls to SNAPS library exposing OpenStack instance objects.

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>
7 years agoMerge "Use decorators for mock patching"
Jose Lausuch [Fri, 14 Jul 2017 10:15:16 +0000 (10:15 +0000)]
Merge "Use decorators for mock patching"

7 years agoRelease notes for Danube.3.0
jose.lausuch [Wed, 12 Jul 2017 15:21:18 +0000 (17:21 +0200)]
Release notes for Danube.3.0

Change-Id: I528b4ef11b5957856c36c0f18c0aa28a38d450a4
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Release notes for Danube 2.0"
Jose Lausuch [Fri, 14 Jul 2017 09:28:43 +0000 (09:28 +0000)]
Merge "Release notes for Danube 2.0"

7 years agoRemove add_images.sh
jose.lausuch [Thu, 13 Jul 2017 12:21:55 +0000 (14:21 +0200)]
Remove add_images.sh

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>
7 years agoFix some issues in cloudify_ims
boucherv [Wed, 12 Jul 2017 16:18:37 +0000 (18:18 +0200)]
Fix some issues in cloudify_ims

- Blocking ssh
- Timeout for SCP
- Debug in clearwater-ims-base
- Flavor with snaps

Change-Id: Ib11a4ebf20e698caccbb16920ae7d715f931fc58
Signed-off-by: boucherv <valentin.boucher@orange.com>
7 years agoCorrect odl port for compass installer
Yifei Xue [Thu, 13 Jul 2017 07:13:21 +0000 (15:13 +0800)]
Correct odl port for compass installer

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>
7 years agoRelease notes for Danube 2.0
jose.lausuch [Wed, 3 May 2017 20:11:17 +0000 (22:11 +0200)]
Release notes for Danube 2.0

Change-Id: Ibe121dad771f0df36ffa15ec13d637b835cf09a8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Switch to check_deployment instead of check_os.sh"
Morgan Richomme [Wed, 12 Jul 2017 15:12:22 +0000 (15:12 +0000)]
Merge "Switch to check_deployment instead of check_os.sh"

7 years agoSwitch to check_deployment instead of check_os.sh
jose.lausuch [Fri, 7 Jul 2017 12:19:39 +0000 (14:19 +0200)]
Switch to check_deployment instead of check_os.sh

Change-Id: Idcc67643f813068c3cd06f4c0dfd3289bb7df138
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Add odl configurations for odl testcase in daisy environment"
Cedric Ollivier [Wed, 12 Jul 2017 08:04:29 +0000 (08:04 +0000)]
Merge "Add odl configurations for odl testcase in daisy environment"

7 years agoMerge "New python script to check openstack deployment"
valentin boucher [Wed, 12 Jul 2017 07:52:38 +0000 (07:52 +0000)]
Merge "New python script to check openstack deployment"

7 years agoAdd odl configurations for odl testcase in daisy environment
Alex Yang [Tue, 11 Jul 2017 09:03:52 +0000 (17:03 +0800)]
Add odl configurations for odl testcase in daisy environment

To support odl testcase in the environment deployed by daisy installer.

Change-Id: I70bc668520cf28385fcff8489c773b880e7b4080
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoMerge "Add openssh-client in core"
Cedric Ollivier [Tue, 11 Jul 2017 15:18:10 +0000 (15:18 +0000)]
Merge "Add openssh-client in core"

7 years agoUse decorators for mock patching
Martin Kulhavy [Tue, 11 Jul 2017 12:06:04 +0000 (15:06 +0300)]
Use decorators for mock patching

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>
7 years agoAdd openssh-client in core
Cédric Ollivier [Tue, 11 Jul 2017 14:48:43 +0000 (16:48 +0200)]
Add openssh-client in core

It's required by snaps ansible tests.

Change-Id: Iebd4c7b8de8637a18dd40040749b9a1a0781fff2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAdd decorators in testcases for energy recording.
Benoit HERARD [Fri, 7 Jul 2017 07:44:48 +0000 (09:44 +0200)]
Add decorators in testcases for energy recording.

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>
7 years agoNew python script to check openstack deployment
jose.lausuch [Fri, 7 Jul 2017 10:44:36 +0000 (12:44 +0200)]
New python script to check openstack deployment

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>
7 years agoMerge "Define CMD in smoke and healthcheck containers"
Jose Lausuch [Tue, 11 Jul 2017 08:10:17 +0000 (08:10 +0000)]
Merge "Define CMD in smoke and healthcheck containers"

7 years agoMerge "Download Functest's upper-constraints.txt"
Jose Lausuch [Tue, 11 Jul 2017 08:10:07 +0000 (08:10 +0000)]
Merge "Download Functest's upper-constraints.txt"

7 years agoMerge "Add upper-constraints.txt for Functest"
Jose Lausuch [Tue, 11 Jul 2017 08:09:11 +0000 (08:09 +0000)]
Merge "Add upper-constraints.txt for Functest"

7 years agoMerge "Add lesser containers based on Alpine"
Jose Lausuch [Tue, 11 Jul 2017 08:08:46 +0000 (08:08 +0000)]
Merge "Add lesser containers based on Alpine"

7 years agoMerge "Allow regex for blacklist scenarios/installers"
Cedric Ollivier [Tue, 11 Jul 2017 08:04:32 +0000 (08:04 +0000)]
Merge "Allow regex for blacklist scenarios/installers"

7 years agoMerge "Stop redefining $HOME"
Morgan Richomme [Mon, 10 Jul 2017 14:38:10 +0000 (14:38 +0000)]
Merge "Stop redefining $HOME"

7 years agoMerge "Get rid of install_rally.sh"
Jose Lausuch [Mon, 10 Jul 2017 14:37:36 +0000 (14:37 +0000)]
Merge "Get rid of install_rally.sh"

7 years agoAllow regex for blacklist scenarios/installers
Martin Kulhavy [Fri, 7 Jul 2017 14:39:33 +0000 (17:39 +0300)]
Allow regex for blacklist scenarios/installers

Reasoning: Some blacklisted test cases apply to a range of scenarios,
e.g. both 'ha' and 'noha' and possibly even to all scenarios for
a specific installer -- therefore the list of excluded scenarios can
get long and unclear. For consistency with rally test case scenarios
also allow regex for installers specification.

Additionally, log the excluded test cases (if any) to debug log.

Change-Id: Ie0bec35d1a6443203d4719ea5428c437c12e5e12
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agoDefine CMD in smoke and healthcheck containers
Cédric Ollivier [Mon, 10 Jul 2017 00:04:24 +0000 (02:04 +0200)]
Define CMD in smoke and healthcheck containers

Change-Id: I083f8e96fc30bc1793f8c43ff2c155f1c889ae19
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoDownload Functest's upper-constraints.txt
Cédric Ollivier [Fri, 7 Jul 2017 20:21:37 +0000 (22:21 +0200)]
Download Functest's upper-constraints.txt

It also removes all temporarily files [1] and reuses OPENSTACK_TAG
and BRANCH args.

[1] https://gerrit.opnfv.org/gerrit/37077

Change-Id: Id87ffdf14ccb1a34f117241c882423adf79f44c5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAdd upper-constraints.txt for Functest
Cédric Ollivier [Fri, 7 Jul 2017 18:09:41 +0000 (20:09 +0200)]
Add upper-constraints.txt for Functest

It completes OpenStack's upper-constraints.txt by adding Functest's
requirements.

This file is temporarily duplicated to allow building the containers.
It will be removed via a next patch when this patch is merged.

openbaton-cli could be updated (e.g. 3.2.8).

Change-Id: I26de2d22f9e8973c5a58c3cc5129142fa628e57a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAdd lesser containers based on Alpine
Cédric Ollivier [Wed, 5 Jul 2017 09:44:01 +0000 (11:44 +0200)]
Add lesser containers based on Alpine

It splits the full container into:
  - functest-core
  - functest-healthcheck
  - functest-smoke

Smoke suite is currently partial and will be completed later (it may
require updates in third party projects).

Features, components and vnf suites will be integrated in other
patchsets.

Change-Id: I635a7fd84cac583c28bb1c82bc6cc9107a39f7ea
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoStop redefining $HOME
Cédric Ollivier [Sat, 8 Jul 2017 10:54:12 +0000 (12:54 +0200)]
Stop redefining $HOME

Then .rally is located in the real home directory.

Change-Id: I3e261d34a41a4105aef8fc0a996df501d638c030
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoGet rid of install_rally.sh
Cédric Ollivier [Sat, 8 Jul 2017 00:44:10 +0000 (02:44 +0200)]
Get rid of install_rally.sh

It simply creates the required db.

Change-Id: I48fb017f3ebfcdbd5de898b185c1933228bfef16
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Fix get_endpoint"
Jose Lausuch [Fri, 7 Jul 2017 07:38:13 +0000 (07:38 +0000)]
Merge "Fix get_endpoint"

7 years agoInherit packages when creating /src/tempest/.venv
Cédric Ollivier [Thu, 6 Jul 2017 22:21:29 +0000 (00:21 +0200)]
Inherit packages when creating /src/tempest/.venv

It simply calls the --system-site-packages option as all
requirements are already installed and then saves space.

Change-Id: Ibb37e54bcbbb8bd9b84e6d43a694ab685b561db1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoStop using tempest version in Dockerfile
Cédric Ollivier [Thu, 6 Jul 2017 19:38:38 +0000 (21:38 +0200)]
Stop using tempest version in Dockerfile

The sed instruction is enhanced to automatically copy the version
written in the OpenStack's upper-constraints.txt.

Change-Id: Icbfde6fb097b1eaf880184c4f63de11854bfdb47
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoFix get_endpoint
Linda Wang [Thu, 6 Jul 2017 16:13:55 +0000 (16:13 +0000)]
Fix get_endpoint

Different endpoint urls can be searched with 'admin', 'internal' and
'public' interface.

Change-Id: I57207826d0dc2c18ce0e6a0abf09140f639f64ba
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoRemove setup_env for refstack in Dockerfile
Linda Wang [Sat, 1 Jul 2017 05:02:56 +0000 (05:02 +0000)]
Remove setup_env for refstack in Dockerfile

It creates a symlink for .tempest required by refstack, and then
install the requirements of tempest into a virtualenv which
should be located in the dir .tempest/.venv.

Now refstack_client is located in /src like tempest to avoid a link
in /usr/local/lib/python2.7/dist-packages.

JIRA: FUNCTEST-846

Change-Id: I99cedd00daaac57f85532ef41b91da20dec3dcb8
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMove rally and tempest to requirements.txt
Cédric Ollivier [Wed, 5 Jul 2017 21:47:18 +0000 (23:47 +0200)]
Move rally and tempest to requirements.txt

As rally and tempest are called when preparing env, they are
considered as dependencies. It also modifies on-the-fly
upper-contraints.txt to allow cloning the git repository.

Change-Id: I72e809d4cf15f9f2539a74fce1c6eb444d8c3b47
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoFix logger name in vping_base.py
Cédric Ollivier [Wed, 5 Jul 2017 18:44:37 +0000 (20:44 +0200)]
Fix logger name in vping_base.py

It conforms with logging.ini which requires qualnames.

Change-Id: Ic2f849009c31a3a7bc406fc44c4917d19ccf2424
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAdd a default value to protect add_images.sh
Cédric Ollivier [Wed, 5 Jul 2017 18:39:35 +0000 (20:39 +0200)]
Add a default value to protect add_images.sh

It sets a default value to the optional env var: FUNCTEST_IMAGES_DIR

Change-Id: Ib78af2aaee27470ad10b0979a68c09963091cbb6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoSet repo_tempest to /src/tempest
Cédric Ollivier [Wed, 5 Jul 2017 20:37:02 +0000 (22:37 +0200)]
Set repo_tempest to /src/tempest

It also calls pip install via the right src value to prevent from
changing the working dir when building Ubuntu or Alpine containers.

Change-Id: I236524ca270f4173e0636bee60a0f136d77ac07a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "bugfix: vping support not_hugepage_configured pod"
valentin boucher [Wed, 5 Jul 2017 15:45:49 +0000 (15:45 +0000)]
Merge "bugfix: vping support not_hugepage_configured pod"

7 years agoMerge "Enable refstack work on https without SSL checks"
valentin boucher [Wed, 5 Jul 2017 15:45:14 +0000 (15:45 +0000)]
Merge "Enable refstack work on https without SSL checks"

7 years agoMerge "Enable cloudify_ims"
valentin boucher [Wed, 5 Jul 2017 15:44:38 +0000 (15:44 +0000)]
Merge "Enable cloudify_ims"

7 years agoEnable cloudify_ims
Morgan Richomme [Mon, 3 Jul 2017 16:01:39 +0000 (18:01 +0200)]
Enable cloudify_ims

- set VNF test cases as daily cases
- remove enabled: False only for cloudify_ims
- precise default generic scenrio (run only on basic scenario first)

Vnf and cloudify_ims leveraging vnf are ready for merge [1]

[1]: https://gerrit.opnfv.org/gerrit/#/c/36315/

Change-Id: I95ae89358e940ef5e9b8ceabc37588bbcfccfc6c
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Clone tempest before installing the package"
Jose Lausuch [Wed, 5 Jul 2017 15:01:40 +0000 (15:01 +0000)]
Merge "Clone tempest before installing the package"

7 years agoEnable refstack work on https without SSL checks
Linda Wang [Thu, 29 Jun 2017 10:06:19 +0000 (10:06 +0000)]
Enable refstack work on https without SSL checks

When refstack is run in https environment, SSL checks
will be skipped if no cacert file is provided.

JIRA: FUNCTEST-828

Change-Id: Ib44582b4f2f508c7a255a1510dbdc33110fe0f14
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoConvert files to Unix format
Cédric Ollivier [Wed, 5 Jul 2017 13:36:00 +0000 (15:36 +0200)]
Convert files to Unix format

It fixes "[cloudify_ims] Support Cloudify 4.0" [1]

[1] https://gerrit.opnfv.org/gerrit/#/c/36315/

Change-Id: I70d04e781d7034f37783764ae5e8b399d62bb793
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "[cloudify_ims] Support Cloudify 4.0"
Cedric Ollivier [Wed, 5 Jul 2017 11:03:23 +0000 (11:03 +0000)]
Merge "[cloudify_ims] Support Cloudify 4.0"

7 years agoClone tempest before installing the package
Cédric Ollivier [Tue, 4 Jul 2017 12:29:53 +0000 (14:29 +0200)]
Clone tempest before installing the package

Rally and refstack require a tempest working dir.
It now clones the offical repository before running setup.py develop.
14.0 is selected to conform with OpenStack upper-constraints.txt.

Dockerfile downloads the official OpenStack upper-constraints.txt to
remove the condition about tempest which forbids cloning it.

Change-Id: I8410570d660b07a1ecfc48fab93022f72acdaac7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agobugfix: vping support not_hugepage_configured pod
SerenaFeng [Wed, 5 Jul 2017 02:50:09 +0000 (10:50 +0800)]
bugfix: vping support not_hugepage_configured pod

this bug was fixed in https://gerrit.opnfv.org/gerrit/#/c/35181/
but was reverted in https://gerrit.opnfv.org/gerrit/#/c/35671/

Change-Id: I5cbbd61ac196dc39c073ffc69254d987e4807130
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "Update the link to firewall_block_image.img"
Serena Feng [Wed, 5 Jul 2017 01:02:14 +0000 (01:02 +0000)]
Merge "Update the link to firewall_block_image.img"

7 years agoFix environment variables in Dockerfile
jose.lausuch [Tue, 4 Jul 2017 14:28:13 +0000 (16:28 +0200)]
Fix environment variables in Dockerfile

After merging [1], there were some hardcoded values
pointint to ~/repos/functest.

[1] https://gerrit.opnfv.org/gerrit/#/c/36827/

Change-Id: Icd912ca8ab6226cbdb0cc4f8b6f77572ea43ae06
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoCleanup Tempest blacklist for Euphrates
jose.lausuch [Tue, 4 Jul 2017 10:32:13 +0000 (12:32 +0200)]
Cleanup Tempest blacklist for Euphrates

This list hasn't been updated in Danube. The idea is
to clean it up and allow all the test cases to be run.
If bugs are detected in Euphrates and there is an upstream
bug report, the affected tests can be added again here.

Change-Id: I44c8b4e8ae78dee7f13f761b6f7f6d8c09b2d0b0
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoSync thirdparty-requirements.txt
Cédric Ollivier [Tue, 4 Jul 2017 09:26:25 +0000 (11:26 +0200)]
Sync thirdparty-requirements.txt

It fixes the condition about the tempest version [1].

[1] https://git.openstack.org/cgit/openstack/requirements/plain/global-requirements.txt?h=stable/ocata

Change-Id: Iaa1f58aec1f58b372ff6280b1f1e4a5422986a55
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoFix upper-constraints.txt url
Cédric Ollivier [Tue, 4 Jul 2017 09:17:20 +0000 (11:17 +0200)]
Fix upper-constraints.txt url

Change-Id: I44f7b476d56bcd7cdac4ba0e5c85717bd41f7e45
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoUpdate the link to firewall_block_image.img
Linda Wang [Mon, 3 Jul 2017 08:03:28 +0000 (08:03 +0000)]
Update the link to firewall_block_image.img

As the link http://205.177.226.237:9999/onosfw/firewall_block_image.img
has been deprecated, now the valid link is updated, aiming at running the
testcase onos_sfc.

JIRA: FUNCTEST-820

Change-Id: Id848e3ab92c3b0fb47e3c755d203844dd94d8408
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Remove the former link /home/opnfv/repos/functest"
Cedric Ollivier [Tue, 4 Jul 2017 07:46:55 +0000 (07:46 +0000)]
Merge "Remove the former link /home/opnfv/repos/functest"

7 years agoMerge "Update cli commands to call console scripts"
Cedric Ollivier [Tue, 4 Jul 2017 07:46:50 +0000 (07:46 +0000)]
Merge "Update cli commands to call console scripts"

7 years agoMerge "Apply restrictive file permissions"
Cedric Ollivier [Tue, 4 Jul 2017 07:46:34 +0000 (07:46 +0000)]
Merge "Apply restrictive file permissions"

7 years ago[cloudify_ims] Support Cloudify 4.0
boucherv [Wed, 21 Jun 2017 14:37:56 +0000 (16:37 +0200)]
[cloudify_ims] Support Cloudify 4.0

- Delete all shell commands to use cloudify python lib
- Cloudify Manager installation with a packaged image
- SNAPS integration
- Adapt test_vnf unit tests
- Initiate test cloudify_ims unit tests (to be completed)

JIRA: FUNCTEST-838

Change-Id: Ia4b499d4155e6af5d37d6d5cf4310a5a9693c7ce
Signed-off-by: boucherv <valentin.boucher@orange.com>
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Energy monitoring SDK update."
Jose Lausuch [Mon, 3 Jul 2017 14:13:24 +0000 (14:13 +0000)]
Merge "Energy monitoring SDK update."

7 years agoMerge "Stop modifying unix perm in cloudify_ims"
Jose Lausuch [Mon, 3 Jul 2017 08:14:46 +0000 (08:14 +0000)]
Merge "Stop modifying unix perm in cloudify_ims"

7 years agoMerge "Fix unix permissions in docs/com"
Jose Lausuch [Mon, 3 Jul 2017 07:41:26 +0000 (07:41 +0000)]
Merge "Fix unix permissions in docs/com"

7 years agoMerge "Remove useless files in docs/com"
Jose Lausuch [Mon, 3 Jul 2017 07:40:43 +0000 (07:40 +0000)]
Merge "Remove useless files in docs/com"

7 years agoMerge "Fix typos in docs"
Morgan Richomme [Sun, 2 Jul 2017 21:10:10 +0000 (21:10 +0000)]
Merge "Fix typos in docs"