functest-xtesting.git
6 years agoMerge "Remove openstack_[clean,snapshot]"
Linda Wang [Thu, 21 Dec 2017 01:54:28 +0000 (01:54 +0000)]
Merge "Remove openstack_[clean,snapshot]"

6 years agoMerge "Fix typos in test_details.rst and test_overview.rst"
Cedric Ollivier [Wed, 20 Dec 2017 18:03:46 +0000 (18:03 +0000)]
Merge "Fix typos in test_details.rst and test_overview.rst"

6 years agoMerge "Delete TestCase.create_snapshot()"
Cedric Ollivier [Wed, 20 Dec 2017 18:00:35 +0000 (18:00 +0000)]
Merge "Delete TestCase.create_snapshot()"

6 years agoFix typos in test_details.rst and test_overview.rst
Cédric Ollivier [Wed, 20 Dec 2017 12:56:46 +0000 (13:56 +0100)]
Fix typos in test_details.rst and test_overview.rst

Change-Id: I12e9b17927ab9b52d0a727a82975cda7074bd994
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Blacklist rally ceilometer scenarios"
Cedric Ollivier [Tue, 19 Dec 2017 19:46:30 +0000 (19:46 +0000)]
Merge "Blacklist rally ceilometer scenarios"

6 years agoRemove openstack_[clean,snapshot]
Cédric Ollivier [Tue, 19 Dec 2017 18:58:15 +0000 (19:58 +0100)]
Remove openstack_[clean,snapshot]

It also removes the related unit tests and updates docs and cli.

Change-Id: Ie11f77402f2b5b7055a0c7c5d931c8ff21124482
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoDelete TestCase.create_snapshot()
Cédric Ollivier [Tue, 19 Dec 2017 18:12:27 +0000 (19:12 +0100)]
Delete TestCase.create_snapshot()

OSGC has been removed then this method can be safely removed.
It also updates run_tests.py.

Change-Id: I4030b7f0351d24d095313ae990b08e65d8f69115
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoBlacklist rally ceilometer scenarios
Juha Kosonen [Tue, 19 Dec 2017 11:59:14 +0000 (13:59 +0200)]
Blacklist rally ceilometer scenarios

Exclude ceilometer test cases since Rally is still utilizing the API
which was deprecated in Pike.

Change-Id: I33be7358c14988f94d38d4b9d42995bd5f022617
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
6 years agoMerge "Filter out orchestra for ssl enabled deployments"
Cedric Ollivier [Tue, 19 Dec 2017 11:10:21 +0000 (11:10 +0000)]
Merge "Filter out orchestra for ssl enabled deployments"

6 years agoMerge "Remove OSGCTestCase"
Cedric Ollivier [Tue, 19 Dec 2017 07:51:44 +0000 (07:51 +0000)]
Merge "Remove OSGCTestCase"

6 years agoMerge "Switch to public keystone endpoint"
Cedric Ollivier [Tue, 19 Dec 2017 07:19:52 +0000 (07:19 +0000)]
Merge "Switch to public keystone endpoint"

6 years agoRemove OSGCTestCase
Cédric Ollivier [Mon, 18 Dec 2017 23:52:21 +0000 (00:52 +0100)]
Remove OSGCTestCase

This class is no longer used and must be removed before working on
xtesting.

JIRA: FUNCTEST-887

Change-Id: I3ac1db6ec90d9db301e5461cd79cfcf77291dffc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSwitch to public keystone endpoint
Cédric Ollivier [Mon, 18 Dec 2017 08:47:39 +0000 (09:47 +0100)]
Switch to public keystone endpoint

It also reorders imports and removes dead code.

Change-Id: I1e7bd03a4bc07df4705c9beed83a37a022ddbd52
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Enforce a versioned public identity endpoint"
Linda Wang [Mon, 18 Dec 2017 08:27:16 +0000 (08:27 +0000)]
Merge "Enforce a versioned public identity endpoint"

6 years agoMerge "Inject all envs in openrc into CONST"
Cedric Ollivier [Mon, 18 Dec 2017 07:38:31 +0000 (07:38 +0000)]
Merge "Inject all envs in openrc into CONST"

6 years agoMerge "Improve the pylint score of functest-core"
Cedric Ollivier [Mon, 18 Dec 2017 07:34:44 +0000 (07:34 +0000)]
Merge "Improve the pylint score of functest-core"

6 years agoEnforce a versioned public identity endpoint
Cédric Ollivier [Sat, 16 Dec 2017 16:07:24 +0000 (17:07 +0100)]
Enforce a versioned public identity endpoint

juju simply adds /auth/tokens to the public identity endpoint wich
fails vs an unversioned endpoint as currently advised. It enforces
a versioned endpoint till juju implements the right discovery.

It may be improved to detect the right API version instead of forcing
v3. But v2 is hugely deprecated and no longer used by all OPNFV
installers.

It also fixes errors/warnings listed by pylint.

Change-Id: I6e8ba4b2122c19629426530d2d34e51e1bc609ba
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFilter out orchestra for ssl enabled deployments
Michael Polenchuk [Fri, 15 Dec 2017 11:11:40 +0000 (15:11 +0400)]
Filter out orchestra for ssl enabled deployments

Skip orchestra tests for the Compass & Fuel/MCP installers
until OpenBaton have updated to version 4.x+ with SSL support.

JIRA: ORCHESTRA-17
Change-Id: I894a08fb5ac83a6b1d59d7bcf3a681a8d596968f
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoInject all envs in openrc into CONST
Linda Wang [Fri, 15 Dec 2017 02:57:26 +0000 (02:57 +0000)]
Inject all envs in openrc into CONST

After "env_prepare" is removed, some specific vars in openrc
(eg,."EXTERNAL_NETWORK") loaded to os.environ should be injected
into CONST in one python process.

Change-Id: Iaa5c6047033dc2a30c533174e2016111759aec31
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years ago[vyos_vrouter] Support https endpoints
ShuyaNakama [Thu, 14 Dec 2017 17:37:33 +0000 (17:37 +0000)]
[vyos_vrouter] Support https endpoints

JIRA: FUNCTEST-881

vyos_vrouter did not support https endpoints [1].

I fixed the following two points.
 1. Modifying blueprint of Cloudify.
 2. Changing nova client of utilvnf module.

Point 1
 I added command of support https endpoint to blueprint of vyos_vrouter.
 The Blueprint of vyos_vrouter is on our github repository [2].
 I updated our repository.

Point 2
 I changed nova client of utilvnf module.
 Utilvnf module is utility module of vyos_vrouter.
 Nova client of utilvnf module did not support https endpoints.
 So, I changed to use nova client of snaps.

After fixed the source code, I confirmed the vyos_vrouter was succeeded in the following two environments.
 1. Our labs   (Instoller:fuel,    environment of https endpoints)
 2. Orange POD (Instoller:compass, environment of http endpoints)

[1] https://jira.opnfv.org/browse/FUNCTEST-881
[2] https://github.com/oolorg/opnfv-vnf-vyos-blueprint/blob/master/function-test-openstack-blueprint.yaml

Change-Id: I468df0f2486a34bc558ad161eb7de44264549006
Signed-off-by: ShuyaNakama <shuya.nakama@okinawaopenlabs.org>
6 years agoMerge "Change the name of flavor and disabled ssh-hostname verification."
Linda Wang [Thu, 14 Dec 2017 08:22:00 +0000 (08:22 +0000)]
Merge "Change the name of flavor and disabled ssh-hostname verification."

6 years agoImprove the pylint score of functest-core
Linda Wang [Mon, 4 Dec 2017 08:33:59 +0000 (08:33 +0000)]
Improve the pylint score of functest-core

It also modifies the file list to ensure the rating of ci modules.

Change-Id: Ia1e414be5364cb3da3d54882db428024ed6bd99f
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoChange the name of flavor and disabled ssh-hostname verification.
soumaya [Tue, 12 Dec 2017 13:40:40 +0000 (19:10 +0530)]
Change the name of flavor and disabled ssh-hostname verification.

Change-Id: Ia801e8a37288606a325b5dd010ab9f6acbfdadf4
Signed-off-by: soumaya <soumaya.nayek@rebaca.com>
6 years agoMerge "Fix yamllint errors in functest/api"
Jose Lausuch [Wed, 13 Dec 2017 11:22:57 +0000 (11:22 +0000)]
Merge "Fix yamllint errors in functest/api"

6 years agoFix yamllint errors in functest/api
Linda Wang [Tue, 12 Dec 2017 06:48:34 +0000 (06:48 +0000)]
Fix yamllint errors in functest/api

JIRA: FUNCTEST-897

Change-Id: I49c7c87dfded000197fe6451fb96dc0749f2ceb0
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoAdd missing character to aarch functest conf file
Delia Popescu [Wed, 13 Dec 2017 09:26:25 +0000 (11:26 +0200)]
Add missing character to aarch functest conf file

Change-Id: I7eef94404c64cea761b289d070021a3f57b4a82e
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
6 years agoAll patching config files in memory
Linda Wang [Tue, 5 Dec 2017 10:20:55 +0000 (10:20 +0000)]
All patching config files in memory

It adds the yaml content as Config attribute and allow patching it
without modifying the file (and reimport constants or config).

It also removes obsolete data in config_patch.yaml and moves several
functions in the right modules (Config)

JIRA: ARMBAND-334

Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I5c9a574d3283828063154c977cdfbc2abfdc6777
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Ensure that all energy modules are fully covered"
Cedric Ollivier [Tue, 12 Dec 2017 16:40:18 +0000 (16:40 +0000)]
Merge "Ensure that all energy modules are fully covered"

6 years agoMerge "Update release notes for Euphrates 5.1"
Cedric Ollivier [Tue, 12 Dec 2017 16:40:07 +0000 (16:40 +0000)]
Merge "Update release notes for Euphrates 5.1"

6 years agoEnsure that all energy modules are fully covered
Cédric Ollivier [Tue, 12 Dec 2017 05:05:54 +0000 (06:05 +0100)]
Ensure that all energy modules are fully covered

Change-Id: I501a404d1202cc92da5e62dbf9db2aa453ffd324
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate release notes for Euphrates 5.1
Jose Lausuch [Tue, 12 Dec 2017 13:19:14 +0000 (14:19 +0100)]
Update release notes for Euphrates 5.1

Change-Id: I008cf0f5cd5279903d7e50b5a3903c283829e9cb
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
6 years agoMerge "Add python3 support in cli"
Cedric Ollivier [Tue, 12 Dec 2017 14:01:54 +0000 (14:01 +0000)]
Merge "Add python3 support in cli"

6 years agoMerge "Add python3 support in energy"
Cedric Ollivier [Tue, 12 Dec 2017 13:59:30 +0000 (13:59 +0000)]
Merge "Add python3 support in energy"

6 years agoMerge "Mock time.sleep() to decrease test duration"
Cedric Ollivier [Tue, 12 Dec 2017 13:59:24 +0000 (13:59 +0000)]
Merge "Mock time.sleep() to decrease test duration"

6 years agoMerge "Add python3 for Functest utils"
Cedric Ollivier [Tue, 12 Dec 2017 13:59:19 +0000 (13:59 +0000)]
Merge "Add python3 for Functest utils"

6 years agoAdd python3 support in cli
Cédric Ollivier [Tue, 12 Dec 2017 05:48:33 +0000 (06:48 +0100)]
Add python3 support in cli

Change-Id: I222fde91cf236a272176bc2d9ec6732f98b76141
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd python3 support in energy
Cédric Ollivier [Tue, 12 Dec 2017 04:36:53 +0000 (05:36 +0100)]
Add python3 support in energy

It also converts Exception to str when expected.
All energy modules are also listed in files rated 10/10 by pylint.

Change-Id: Id382d60eb35f50c98b15423f9559a920ce5dac62
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMock time.sleep() to decrease test duration
Cédric Ollivier [Tue, 12 Dec 2017 03:54:03 +0000 (04:54 +0100)]
Mock time.sleep() to decrease test duration

It also returns None when getting floating ips after deleting them.
It now runs 40 tests in 0.084s.

Change-Id: If4b1032ab9890fd291d99beb57166ead8729d822
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd python3 for Functest utils
Cédric Ollivier [Mon, 11 Dec 2017 12:44:42 +0000 (13:44 +0100)]
Add python3 for Functest utils

It also fixes test_utils RegexMatch and SubstrMatch.

Change-Id: I124aa7d0c4110dcd2f50220aae7ba9b299799e93
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Set the ram of flavor 1024"
Linda Wang [Tue, 12 Dec 2017 01:02:06 +0000 (01:02 +0000)]
Merge "Set the ram of flavor 1024"

6 years agovEPC tests with juju as an VNF manager
soumaya [Tue, 12 Sep 2017 17:19:21 +0000 (22:49 +0530)]
vEPC tests with juju as an VNF manager

juju_epc testcase validate EPC setup with the help of ABoT which
acting as test executor. Functest-abot-epc-bundle deploys OAI charms
alongwith mysql and ABoT. JUJU is acting as a VNF manager.

Change-Id: I45d7b37f21f6b8c7049ab2bf42a4678e30b67a72
Signed-off-by: soumaya <soumaya.nayek@rebaca.com>
6 years agoSet the ram of flavor 1024
Linda Wang [Thu, 7 Dec 2017 07:29:07 +0000 (07:29 +0000)]
Set the ram of flavor 1024

The setting of hw:mem_page_size=large indicates larger page sizes
for guest RAM, eg., either 2MB or 1GB on x86.
When tested on compass, 1GB is required.

Change-Id: Iefd2e8ff30e0a496157e0bd118e63ab3c402abab
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoAdd Python3 support in functest/ci
Cédric Ollivier [Mon, 11 Dec 2017 05:47:33 +0000 (06:47 +0100)]
Add Python3 support in functest/ci

Change-Id: If13bfaa196b8dfab1e83feb28c5a4719c7acd8c7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix yaml format errors in vnf
Cédric Ollivier [Mon, 11 Dec 2017 04:23:23 +0000 (05:23 +0100)]
Fix yaml format errors in vnf

All Rally yaml files are skipped because they leverage on jinja2.
Now last errors are in functest/api directories [1].

[1] https://jira.opnfv.org/browse/FUNCTEST-897

Change-Id: I4d6c9b3b7c1f3602bd51c9cf7e1c5babf581ab82
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoPull functest-core when only building childs
Cédric Ollivier [Thu, 7 Dec 2017 21:57:49 +0000 (22:57 +0100)]
Pull functest-core when only building childs

Otherwise it fails if parent and childs containers are not built on
the same host [1].

It would have worked if the docker images were correctly cleant. Then
the last image would have been pulled.

[1] https://build.opnfv.org/ci/job/functest-apex-baremetal-daily-euphrates/362/console

Change-Id: I293829c839c1cf68c9f7668aa643e16889359fcc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Fix the yamllint errors in functest/ci"
Cedric Ollivier [Thu, 7 Dec 2017 15:26:32 +0000 (15:26 +0000)]
Merge "Fix the yamllint errors in functest/ci"

6 years agoAssign heat_stack_owner role to the new user
Linda Wang [Wed, 6 Dec 2017 14:48:32 +0000 (14:48 +0000)]
Assign heat_stack_owner role to the new user

For heat scenario in rally, assign heat_stack_owner role to
the new created users.

Change-Id: I86a74ca88993ed3782d21b22eb5933d639d86c94
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoRemove the config of promise
Linda Wang [Wed, 6 Dec 2017 09:30:15 +0000 (09:30 +0000)]
Remove the config of promise

Change-Id: I9e393ce33228f90f724df12af258cf06fae821fc
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoFix the yamllint errors in functest/ci
Linda Wang [Mon, 4 Dec 2017 06:36:06 +0000 (06:36 +0000)]
Fix the yamllint errors in functest/ci

And also, remove the params "tempest_use_custom_images" and
"unique_names" of vping, rally and tempest.

Change-Id: Ic4243ef2f5e965910e5befa87db8d585cad34fa2
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoMerge "Fix pylint errors of vping"
Cedric Ollivier [Tue, 5 Dec 2017 19:56:59 +0000 (19:56 +0000)]
Merge "Fix pylint errors of vping"

6 years agoFix pylint errors of vping
Linda Wang [Mon, 4 Dec 2017 07:09:38 +0000 (07:09 +0000)]
Fix pylint errors of vping

Change-Id: I272f0eb6fb0f2a274484a3dcfacd8ed65e4a5b23
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoCreate a tox env to check yaml files
Cédric Ollivier [Mon, 4 Dec 2017 19:01:22 +0000 (20:01 +0100)]
Create a tox env to check yaml files

It also fixes all testcases config files.

Change-Id: I81a6ffb8b7acf4239c79129dc842e283d3d32b35
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Adjust timeouts in Vnfs"
Jose Lausuch [Thu, 30 Nov 2017 14:31:11 +0000 (14:31 +0000)]
Merge "Adjust timeouts in Vnfs"

6 years agoMerge "Stop updating test_db_url in config file by env var"
Linda Wang [Thu, 30 Nov 2017 14:11:52 +0000 (14:11 +0000)]
Merge "Stop updating test_db_url in config file by env var"

6 years agoAdjust timeouts in Vnfs
Cédric Ollivier [Thu, 30 Nov 2017 10:55:02 +0000 (11:55 +0100)]
Adjust timeouts in Vnfs

When testcases fail, the jjobs is aborted and the result isn't
printed.

Change-Id: Ibda6268873303e631705c695a41c50980a3d29e5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoReorder Vnf testcases
Cédric Ollivier [Thu, 30 Nov 2017 10:37:11 +0000 (11:37 +0100)]
Reorder Vnf testcases

Cloudify IMS testcases could easily tigger jjob timeouts.
Vyos_router should run before as it ends much quickier.

Change-Id: Icd4323a7216615e75613e5fb241ae144f727d4fd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Filter installers for cloudify_vrouter"
Cedric Ollivier [Thu, 30 Nov 2017 08:19:01 +0000 (08:19 +0000)]
Merge "Filter installers for cloudify_vrouter"

6 years agoStop updating test_db_url in config file by env var
Linda Wang [Thu, 30 Nov 2017 02:31:17 +0000 (02:31 +0000)]
Stop updating test_db_url in config file by env var

If TEST_DB_URL is declared in env variable, use it
before considering the var in config file.

Change-Id: I656ad8765287c48d60af7ab88b421805d76fb231
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoMerge "Skip modifying creds if Variables.robot is missing"
Cedric Ollivier [Thu, 30 Nov 2017 07:14:01 +0000 (07:14 +0000)]
Merge "Skip modifying creds if Variables.robot is missing"

6 years agoFilter installers for cloudify_vrouter
Cédric Ollivier [Thu, 30 Nov 2017 05:53:01 +0000 (06:53 +0100)]
Filter installers for cloudify_vrouter

As cloudify_vrouter doesn't support SSL endpoints [1], it shouldn't
be executed if compass or fuel.

[1] https://jira.opnfv.org/browse/FUNCTEST-881

Change-Id: Ieedc0d5eca57f00da2121c9e07dd5cc57f978ef6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Update documentation of Functest"
Cedric Ollivier [Thu, 30 Nov 2017 05:25:16 +0000 (05:25 +0000)]
Merge "Update documentation of Functest"

6 years agoSkip modifying creds if Variables.robot is missing
Cédric Ollivier [Wed, 29 Nov 2017 18:33:07 +0000 (19:33 +0100)]
Skip modifying creds if Variables.robot is missing

Variable.robot is missing in functest-features [1].
As it's related to ODL csit suites, modifying it could be safely
skipped as odl.py is designed for testing multiple ODL testcases.

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

Change-Id: Id5f1947a073d251ef7480f418218a4c85fe078c1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate documentation of Functest
Linda Wang [Wed, 29 Nov 2017 09:29:24 +0000 (09:29 +0000)]
Update documentation of Functest

Mainly update the robotframework part, according to this patch:
https://gerrit.opnfv.org/gerrit/#/c/47841/

Change-Id: If4dee6233ba65dd83734e0465d0dc6e8d5753da3
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoForce Framework to be fully covered
Cédric Ollivier [Mon, 27 Nov 2017 15:37:21 +0000 (16:37 +0100)]
Force Framework to be fully covered

Change-Id: Ida120fe28ea7860758a218189d905bebee2e8ba5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove one obsolete test in test_odl.py
Cédric Ollivier [Wed, 29 Nov 2017 05:59:24 +0000 (06:59 +0100)]
Remove one obsolete test in test_odl.py

It completes "Create RobotFramework class" [1] which decreased
coverage to 99% (test_odl.py)

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

Change-Id: I2a2d448daeb6d1f50064588167cafd32e07aa502
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoCover vnf.prepare()
Cédric Ollivier [Wed, 29 Nov 2017 05:16:46 +0000 (06:16 +0100)]
Cover vnf.prepare()

It completes the previous commit [1] which increased the coverage of
Vnf.

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

Change-Id: Ibb0201d6165d89da2edd1a93b722008092726569
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Fully cover vnf"
Cedric Ollivier [Tue, 28 Nov 2017 19:47:07 +0000 (19:47 +0000)]
Merge "Fully cover vnf"

6 years agoMerge "Create RobotFramework class"
Cedric Ollivier [Tue, 28 Nov 2017 19:46:56 +0000 (19:46 +0000)]
Merge "Create RobotFramework class"

6 years agoFix the doc of snaps test
Linda Wang [Tue, 28 Nov 2017 04:52:58 +0000 (04:52 +0000)]
Fix the doc of snaps test

snaps_health_check does not allocate a floating ip to the vm,
but a fixed ip instead.

Change-Id: Ia43885993135dec56aba08b0e157ac2c9f715e06
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoFully cover vnf
Cédric Ollivier [Mon, 27 Nov 2017 15:35:43 +0000 (16:35 +0100)]
Fully cover vnf

clean() is now covered by unit tests.

It must be noted that clean() doesn't warn about the possible
failures when cleaning resources.

Change-Id: If64c0cc5777ac5d2ce8a04ea34cd4f50091ab273
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoCreate RobotFramework class
Cédric Ollivier [Mon, 27 Nov 2017 10:43:42 +0000 (11:43 +0100)]
Create RobotFramework class

It moves the capability to run any robot script from ODL TestCase
into a new class: RobotFramework.

It updates ODL TestCase and the related unit tests to inherit from
the new parent class.

Change-Id: I73e59ee9652fb63d9d89d7c75c58cce9cf62b0d7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove os_utils call from cloudify ims and vrouter
Linda Wang [Sat, 25 Nov 2017 02:09:41 +0000 (02:09 +0000)]
Remove os_utils call from cloudify ims and vrouter

Change-Id: I333551125616113484ad275820f2176dae79da6e
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoEnable Doctor testcase for F-release
Cédric Ollivier [Fri, 24 Nov 2017 06:48:12 +0000 (07:48 +0100)]
Enable Doctor testcase for F-release

doctor conforms with OpenStack Pike requirements then it could be
enabled in functest-features and functest-restapi (master) [1].

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

Change-Id: I82135a64cf0aac5ebf5b56260ede24b592fca41b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoEnable baro_tests testcase for F-release
Cédric Ollivier [Thu, 23 Nov 2017 21:18:54 +0000 (22:18 +0100)]
Enable baro_tests testcase for F-release

barometer conforms with OpenStack Pike requirements then it could be
enabled in functest-features and functest-restapi (master) [1].

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

Change-Id: Iee17bd17192db53075dd8ff8d020d18306394cfa
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Remove iniparse and urllib3 dependencies"
Cedric Ollivier [Fri, 24 Nov 2017 06:44:11 +0000 (06:44 +0000)]
Merge "Remove iniparse and urllib3 dependencies"

6 years agoFix relative imports in cloudify_ims_perf
Cédric Ollivier [Thu, 23 Nov 2017 21:03:43 +0000 (22:03 +0100)]
Fix relative imports in cloudify_ims_perf

It also fixes wrong indents.

JIRA: FUNCTEST-893

Change-Id: Ic54e01c03c14f39c69242c41922fc124c1b45c23
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove iniparse and urllib3 dependencies
Cédric Ollivier [Thu, 23 Nov 2017 13:36:26 +0000 (14:36 +0100)]
Remove iniparse and urllib3 dependencies

It also moves robotframework addons to the right containers.

Change-Id: I32a8e018bf84685cffc70a04e3736d948bc6d1c4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Remove openstack utils calls in rally and tempest"
Cedric Ollivier [Thu, 23 Nov 2017 16:16:33 +0000 (16:16 +0000)]
Merge "Remove openstack utils calls in rally and tempest"

6 years agoMerge "Remove _set_others() from config"
Jose Lausuch [Thu, 23 Nov 2017 15:36:59 +0000 (15:36 +0000)]
Merge "Remove _set_others() from config"

6 years agoRemove _set_others() from config
Jose Lausuch [Thu, 23 Nov 2017 11:07:44 +0000 (12:07 +0100)]
Remove _set_others() from config

Change-Id: I39e37ce9f8715e21fcfc4a053b83d508530fad5e
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
6 years agoMerge "Fix how tier_handler is imported"
Linda Wang [Thu, 23 Nov 2017 11:04:27 +0000 (11:04 +0000)]
Merge "Fix how tier_handler is imported"

6 years agoFix how tier_handler is imported
Cédric Ollivier [Thu, 23 Nov 2017 09:38:43 +0000 (10:38 +0100)]
Fix how tier_handler is imported

Change-Id: I36577ca73042b181b4634c4d6bf3ac5d905fd560
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Remove prepare_env"
Cedric Ollivier [Thu, 23 Nov 2017 08:55:04 +0000 (08:55 +0000)]
Merge "Remove prepare_env"

6 years agoRemove openstack utils calls in rally and tempest
Linda Wang [Wed, 22 Nov 2017 03:45:45 +0000 (03:45 +0000)]
Remove openstack utils calls in rally and tempest

Mainly, update "rally deployment create --file=rally_conf.json"
to "rally deployment create --fromenv"

Change-Id: I6dd4c7ea2d9d6f47dee49a4fd416e62bd557f45e
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoRemove prepare_env
Jose Lausuch [Wed, 15 Nov 2017 16:11:41 +0000 (17:11 +0100)]
Remove prepare_env

After moving the rally installation out of prepare_env
It doesn't much sense to keep this script as it doesn't
do useful things any more.

Change-Id: I9ab3b2dd30c8ec0fbb825ee4302a83cce80f1cbe
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
6 years agoMerge "Removal of deprecated SNAPS-OO classes."
Cedric Ollivier [Wed, 22 Nov 2017 12:43:56 +0000 (12:43 +0000)]
Merge "Removal of deprecated SNAPS-OO classes."

7 years agoRemoval of deprecated SNAPS-OO classes.
spisarski [Tue, 21 Nov 2017 19:09:29 +0000 (12:09 -0700)]
Removal of deprecated SNAPS-OO classes.

JIRA: SNAPS-202

Change-Id: I115b4927b287a5525f4c1b95128d91f5229c7856
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
7 years agoMerge "Fix "Broken pipe" IOErrors of rally run"
Linda Wang [Tue, 21 Nov 2017 16:02:53 +0000 (16:02 +0000)]
Merge "Fix "Broken pipe" IOErrors of rally run"

7 years agoFix "Broken pipe" IOErrors of rally run
Juha Kosonen [Mon, 20 Nov 2017 17:56:28 +0000 (19:56 +0200)]
Fix "Broken pipe" IOErrors of rally run

Replace obsolete os.popen with subprocess module usage in command
output retrieval. Do not use shell as the program to execute.

Change-Id: Ic63bb0f393750c3b85a35a37fecd46c1c1b96602
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoMerge "Fix rally db issue"
Linda Wang [Tue, 21 Nov 2017 09:14:20 +0000 (09:14 +0000)]
Merge "Fix rally db issue"

7 years agoFix the way of getting endpoint port
Linda Wang [Tue, 21 Nov 2017 03:38:49 +0000 (03:38 +0000)]
Fix the way of getting endpoint port

It will fail if the endpoint does not contain any port value when
executing self.os_auth_url.rsplit("/")[2].rsplit(":")[1]

JIRA: FUNCTEST-892

Change-Id: Iba4103884b7c6e3b157bb95d775fac02c32ae728
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoFix rally db issue
Linda Wang [Tue, 21 Nov 2017 06:27:49 +0000 (06:27 +0000)]
Fix rally db issue

Also update "rally-manage db" to "rally db"

Change-Id: I0c9924b9869135d3492dfafe89d085813290f565
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoEnable sdnvpn testcase for F-release
Cédric Ollivier [Mon, 20 Nov 2017 15:16:04 +0000 (16:16 +0100)]
Enable sdnvpn testcase for F-release

sdnvpn conforms with OpenStack Pike requirements then it could be
enabled in functest-features and functest-restapi (master) [1].

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

Change-Id: Iedcb645d897684f169e4cf536838bf1f0951b6d9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Support to specify the valid external network name"
Linda Wang [Mon, 20 Nov 2017 12:51:45 +0000 (12:51 +0000)]
Merge "Support to specify the valid external network name"

7 years agoSupport to specify the valid external network name
Linda Wang [Fri, 17 Nov 2017 02:00:21 +0000 (02:00 +0000)]
Support to specify the valid external network name

In some deployments, the retrieved external network by the
def get_external_networks in Snaps checked by "router:external"
is not available. So it is necessary to specify the available
external network as an env by user.

Change-Id: I333e91dd106ed307541a9a197280199fde86bd30
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoCheck external network
Linda Wang [Thu, 16 Nov 2017 04:10:58 +0000 (04:10 +0000)]
Check external network

Change-Id: I1ff199fcad99aefccb92807c8f416d4f32ec91a6
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoUpdate documentation for Functest
Linda Wang [Fri, 17 Nov 2017 03:38:41 +0000 (03:38 +0000)]
Update documentation for Functest

1. Remove the reference of ubuntu based container
2. Remove the domino (terminated) and promise (not in F),
   and move fds to features tier

Change-Id: I62af47a3f873f0a77d5f7e0a1df493651c805834
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoEnable sfc testcase for F-release
Cédric Ollivier [Thu, 16 Nov 2017 13:35:22 +0000 (14:35 +0100)]
Enable sfc testcase for F-release

sfc conforms with OpenStack Pike requirements then it could be
enabled in functest-features and functest-restapi (master) [1].

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

Change-Id: I2b79f918dc4f6ca89c2dca18bf64a4bb184bf8b2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Updated from global requirements"
Cedric Ollivier [Thu, 16 Nov 2017 07:12:13 +0000 (07:12 +0000)]
Merge "Updated from global requirements"

7 years agoRemove Domino and Promise testcases
Cédric Ollivier [Wed, 15 Nov 2017 18:53:01 +0000 (19:53 +0100)]
Remove Domino and Promise testcases

Domino and Promise won't participate in the Fraser Release [1].

[1] https://wiki.opnfv.org/display/SWREL/Projects+Intending+to+Participate+in+the+Fraser+Release

Change-Id: Ib06411769439015549cac9353fa92cebd2f61193
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>