Cédric Ollivier [Tue, 14 Aug 2018 16:23:41 +0000 (18:23 +0200)]
Protect vs None when calling regex
Change-Id: I93d22442c28e674433234d7729838944962bdbe2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 10 Aug 2018 11:04:11 +0000 (13:04 +0200)]
Skip the selected testcase too
It completes "Allow calling a skip test" [1]
[1] https://gerrit.opnfv.org/gerrit/60655
Change-Id: I02499aed56e6b23563165ea1f17b476e12408823
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 7 Aug 2018 05:16:57 +0000 (07:16 +0200)]
Generate robot reports
Change-Id: Ib9efe14bce6227f9609200c12ded4470bd0be969
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 7 Aug 2018 03:06:23 +0000 (05:06 +0200)]
Allow calling a skip test
run_tests shouldn't return an incorrect value if the test is skipped.
Else it simply forbids running tests in parallel (one test per
thread).
Change-Id: I07efca28dbf6cf1c29ec8e5c999e38cfe3ad0aad
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 30 Jul 2018 14:08:41 +0000 (16:08 +0200)]
Stop skipping testcases if one raises exceptions
https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/188/console
Change-Id: Ic412c5b55169f599bd9cdb623f349dd2220940db
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 15 Jul 2018 09:30:40 +0000 (11:30 +0200)]
Stop printing exceptions twice
Change-Id: Ife772d33741e7023ed72afeb0f74ed8b461e0033
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 15 Jul 2018 09:22:05 +0000 (11:22 +0200)]
Fix results when only one skipped test
Change-Id: Id6c8029b8be1e3a01979feb45daebad08710fe20
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 15 Jul 2018 07:49:57 +0000 (09:49 +0200)]
Allow dynamically skipping testcases
Change-Id: I7cf47f0625bdb8345fef43b24c51bd84ef4486ea
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 12 Jul 2018 08:48:17 +0000 (10:48 +0200)]
Skip testcases by any env var
It also removes CI_LOOP which is releng centric.
It can be passed as dependency if required.
Change-Id: I146bb97950cb88062451158b7cc6a16c7f9d47a2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 12 Jul 2018 06:31:31 +0000 (08:31 +0200)]
Improve dependency management
It avoids declaring dependencies if needed.
Negative regex are correcty managed as well.
Change-Id: I0e978823526246bc4a5192e63a8a893a4add0e2a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Panagiotis Karalis [Fri, 25 May 2018 09:27:12 +0000 (12:27 +0300)]
Remove Feature logger
This class atttribute is removed as it's quite useless (it forces one
module per project). All messages are now printed to xtesting.log
whatever the namespace and all warnings are printed in console.
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I6860eaf427093ea21b3bd78650bec7939e947b2d
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 24 Apr 2018 12:31:54 +0000 (14:31 +0200)]
Check shell scripts via bashate
Change-Id: I33df0017945a32946c46bff0768624901e13f6f1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 17 Apr 2018 07:48:15 +0000 (09:48 +0200)]
Create a static method to configure logger
It helps OPNFV Features to configure their multiple loggers as
self.logger is not suitable in case of multiple modules.
Change-Id: I5794a3e323d70abfdd85db89a9890488828efd88
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 12 Apr 2018 02:34:08 +0000 (04:34 +0200)]
Update to stable/queens
Change-Id: I2a8d624df52c0c705d5fbc662f11948bdc51d765
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 12 Apr 2018 02:16:32 +0000 (04:16 +0200)]
Updated from global requirements
Change-Id: If9959fb71b9970a27f607ec1c491bf790adfe499
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 11 Apr 2018 18:01:33 +0000 (20:01 +0200)]
Exclude doc/reveal.js from perm
Change-Id: I6c81163d55217a374269ee7d2aae63a854c9fdeb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 10 Apr 2018 20:01:29 +0000 (22:01 +0200)]
Updated from global requirements
Change-Id: I8fae672c01c3fa9d99842827436e2e94cfac2be8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 7 Apr 2018 16:53:54 +0000 (18:53 +0200)]
Check README.rst by doc8
Change-Id: I9ac9fa26d49fd9cd01844e5579255cfadbd8b276
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 4 Apr 2018 05:00:49 +0000 (07:00 +0200)]
Check API doc via doc8
It also cleans unseless dirs.
Change-Id: I52ddc9e2adcd13c95e4a8939397686f50b9e6c4c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 31 Mar 2018 11:10:17 +0000 (13:10 +0200)]
Ignore output dirs and files
Change-Id: I5d8bbee73489e723dec4a1962c3b95943a038efc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 31 Mar 2018 10:57:56 +0000 (12:57 +0200)]
Fix software names (uppercase letters)
Change-Id: I1eba2a3594b050e4c50ac081a653011fa1e98426
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 24 Mar 2018 15:58:12 +0000 (16:58 +0100)]
Update Xtesting presentation
Change-Id: Ida18f3fd0138eb70bb2dd6b512cec5bef470b685
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 23 Mar 2018 20:55:22 +0000 (21:55 +0100)]
Publish xtesting presentation
Change-Id: Ia33a17ed5868bf61f088feea1a608603fdeb28dc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 19 Mar 2018 08:51:37 +0000 (09:51 +0100)]
Fix regex when INSTALLER_TYPE is unset
Change-Id: I0ec012185f3c90b2a2c82b6f204ce332f3fa9c7f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 18 Mar 2018 18:30:22 +0000 (19:30 +0100)]
Update api/index.rst
It mainly copies the wiki main page [1].
[1] https://wiki.opnfv.org/display/functest/Xtesting
Change-Id: Iaedfa2bbf83976654a626640b38d8cc27131d3d4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 18 Mar 2018 10:38:18 +0000 (11:38 +0100)]
Add classifiers (pypi)
Change-Id: Ifabc4b33e56d37e097724cee2afd1c1da2438f9c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 18 Mar 2018 10:29:23 +0000 (11:29 +0100)]
Add README.rst (pypi)
Change-Id: I4248c86ee51b9458d367440670a0abaf3ec7c87f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 12 Mar 2018 07:19:57 +0000 (08:19 +0100)]
Add a travis-ci config file
It also fixes a typo in build.sh.
Change-Id: Id9ac580d3b6268dd8e2326cecef57db213ef1a11
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Fri, 9 Mar 2018 09:45:29 +0000 (09:45 +0000)]
Merge "Add build.sh for functest-xtesting"
Delia Popescu [Wed, 7 Mar 2018 10:04:18 +0000 (12:04 +0200)]
Add build.sh for functest-xtesting
JIRA: FUNCTEST-948
Change-Id: If174ac0cc5716ccd6f5bcd6b5627feb222d05b0b
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
mrichomme [Thu, 8 Mar 2018 15:23:38 +0000 (16:23 +0100)]
Add tags support using include options
Change-Id: Ibfd8645e2ec7da7d05ae806b5bc1f5a90bfc39a2
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Cédric Ollivier [Tue, 6 Mar 2018 20:12:22 +0000 (21:12 +0100)]
Add py3 support in samples
Change-Id: I402be2f5921577985218306161a6efe1b9d62a48
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 4 Mar 2018 10:56:30 +0000 (11:56 +0100)]
Return all status when running tiers
Change-Id: I31a062304d47c055c14e5afe8f560c3048b071f4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 3 Mar 2018 10:55:44 +0000 (11:55 +0100)]
Stop filtering the project when calculating results
Change-Id: Ia0917426775831176206f4bb300d513cc3190e08
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 1 Mar 2018 03:06:54 +0000 (04:06 +0100)]
Remove Functest-related env vars
Change-Id: If1b44ad61db58fd3d02817373255c6467f515e85
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 1 Mar 2018 02:12:35 +0000 (03:12 +0100)]
Leverage on tags for all versions
Change-Id: I7e8c1a9f97711c935b61696b348183b382c15d12
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 1 Mar 2018 01:20:10 +0000 (02:20 +0100)]
Set universal wheels
Change-Id: I856b02ff26808cc56ecee62570f5370795abc178
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 28 Feb 2018 18:44:53 +0000 (19:44 +0100)]
Ensure py27 and py35 supports
Change-Id: Ia1cd423be2e55ab7539bcd2551c53792c08b976a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 28 Feb 2018 17:51:45 +0000 (18:51 +0100)]
Add mandatory package infos (PyPI)
Change-Id: I2ab4eb5f2916ee26cd3be48eb4fa2074d020967c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 28 Feb 2018 17:46:13 +0000 (18:46 +0100)]
Switch from /home/opnfv/functest to /var/lib/xtesting
Functest containers will have to create symlinks to allow publishing
artifacts.
All classes create the mandatory dirs.
Change-Id: Ia1f215005d553dd6d64685e4d8a3f5c843c5db7a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 28 Feb 2018 15:13:05 +0000 (16:13 +0100)]
Remove obsolete Alpine packages
Change-Id: Ibaaaab6af46cf3bf76be5442f5e155de592e727e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 28 Feb 2018 10:51:16 +0000 (11:51 +0100)]
Publish Dockerfile and samples
Change-Id: Ie776fea631f04bb42d8ae80bc658318d8644d0e5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 28 Feb 2018 14:22:15 +0000 (15:22 +0100)]
Fully cover tier_builder.py
Change-Id: I48ad1d430bb56b5be75b003800990a251f6a4065
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 28 Feb 2018 08:55:27 +0000 (09:55 +0100)]
Remove all OpenStack operations in vnf.py
Change-Id: I356305f3c59b51f97f5fb1335369834a77fda9b1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 28 Feb 2018 08:35:49 +0000 (09:35 +0100)]
Rename all Functest refs to Xtesting
It mainly renames python modules and then the related documentation
config files.
Change-Id: I186010bb88d3d39afe7b8fd1ebcef9c690cc1282
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 27 Feb 2018 13:25:49 +0000 (14:25 +0100)]
Clean all OpenStack related modules
Xtesting is only focused on the framework and entry points.
Change-Id: I1a4146ed8519438b13810a20ddf1140c35bb6ecd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Mon, 26 Feb 2018 16:50:45 +0000 (16:50 +0000)]
Merge "Raise exceptions when SDN_CONTROLLER_IP is None"
Cedric Ollivier [Mon, 26 Feb 2018 16:50:36 +0000 (16:50 +0000)]
Merge "Stop raising keystoneauth1 exceptions in odl unit tests"
valentin boucher [Mon, 26 Feb 2018 15:24:54 +0000 (15:24 +0000)]
Merge "Fix KeyError of OS_AUTH_URL"
Cédric Ollivier [Mon, 26 Feb 2018 10:52:15 +0000 (11:52 +0100)]
Raise exceptions when SDN_CONTROLLER_IP is None
Change-Id: Ia0d00a6b3c4c4936dc10602e838f507beea0c592
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 26 Feb 2018 10:31:48 +0000 (11:31 +0100)]
Stop raising keystoneauth1 exceptions in odl unit tests
It simply raises Exceptions to avoid depending on keystoneauth1.
Snaps may also reraise another exception.
Change-Id: Ib3041b2d8ff51ee098f2bf0b9918079b7945abf3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 26 Feb 2018 09:59:25 +0000 (10:59 +0100)]
Remove openstack utils
They have been obsolete since we fully switched to snaps.
The files are being moved to SDNVPN which is the last project using
them [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/52631/
Change-Id: I277b92a04cf6bc7b30015eed76f03f17830fad2b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Linda Wang [Mon, 26 Feb 2018 07:18:11 +0000 (07:18 +0000)]
Fix KeyError of OS_AUTH_URL
Change-Id: Iaaa657ebb8ed017429b640ffaaf03b6d204e887a
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Cédric Ollivier [Mon, 26 Feb 2018 07:44:48 +0000 (08:44 +0100)]
Switch to snaps in orchestra testcases
It also stops using the floating ip in userdata to avoid a race
condition (all-in-one).
The DNS server is now configured by Neutron instead of the testcases.
Change-Id: I6efed71339d98403f7fd137ff50f1941b5b5a03c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 25 Feb 2018 14:01:27 +0000 (15:01 +0100)]
Fix default identity version in conf_utils
Change-Id: I2e78958b3c96b36a5fac636a1817424fb102afea
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 24 Feb 2018 16:04:16 +0000 (17:04 +0100)]
Set Energy default values to None
It conforms with the other default values.
Change-Id: Id46110c5aedf244f94e83b5b0389b135f075ffc8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 24 Feb 2018 15:21:02 +0000 (16:21 +0100)]
Switch to $REPO in travis-ci jobs
It conforms with "Use functest repo variable" [1]
[1] https://gerrit.opnfv.org/gerrit/#/c/52513/
Change-Id: I09b438d784fbeb5e3686b441e6944c87c0f88382
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 24 Feb 2018 10:41:33 +0000 (11:41 +0100)]
Print env vars and env_file
It simply eases detecting wrong inputs [1].
[1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/796/console
Change-Id: I0784c29265c69a6ba4a049226196bcdd70b0a572
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 21 Feb 2018 09:01:30 +0000 (10:01 +0100)]
Automatically download defcore.txt
It stops writing files in Functest package dirs and cleans instance
variables in refstack modules too.
Change-Id: Iaddbe4fbaf12d1af207b86d4e44258efdc6d6f3a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 24 Feb 2018 11:09:20 +0000 (12:09 +0100)]
Update Functest to meet last snaps updates
It removes obsolete mockey patches in Rally unit tests and adds
keystone client as params when needed in orchestra_*ims.py [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/52473/
Change-Id: Id02954d16f5f54cc0c390fadb498e14c6bab6ff9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Sat, 24 Feb 2018 11:41:11 +0000 (11:41 +0000)]
Merge "Use functest repo variable"
Delia Popescu [Fri, 23 Feb 2018 09:50:44 +0000 (11:50 +0200)]
Use functest repo variable
related to: https://gerrit.opnfv.org/gerrit/#/c/52509/
JIRA: FUNCTEST-917
Change-Id: I79512253b37254b9247fda083500e160dba66d6f
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
Cédric Ollivier [Thu, 22 Feb 2018 16:43:35 +0000 (17:43 +0100)]
Switch from CONST to CONF
It also removes constants.CONST and env.Environment which are now
useless.
Depends-On: I764a0a2a24447c941d1e726f3116593b29dd1c1e
Depends-On: I6cfa832466dcefd737314633d807512e46267a69
Change-Id: Ife41c59d9f2e6ec4e49df38af962039f99554bc5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Thu, 22 Feb 2018 16:36:55 +0000 (16:36 +0000)]
Merge "Use constants for Functest config file"
Cédric Ollivier [Wed, 21 Feb 2018 10:33:39 +0000 (11:33 +0100)]
Use constants for Functest config file
env_file can't be defined in a config file simply because it's an
entry point (Jenkins jobs, end users)
Change-Id: Ie23c0ef90efc839d60f0f3a9754c58746b1f3a00
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Thu, 22 Feb 2018 07:48:49 +0000 (07:48 +0000)]
Merge "Unify security group operations"
Cedric Ollivier [Wed, 21 Feb 2018 19:15:47 +0000 (19:15 +0000)]
Merge "Leverage of snaps creds to get the right region name"
Cedric Ollivier [Wed, 21 Feb 2018 19:15:35 +0000 (19:15 +0000)]
Merge "Print stdout and stderr when calling commands over SSH"
Cédric Ollivier [Wed, 21 Feb 2018 17:12:53 +0000 (18:12 +0100)]
Print stdout and stderr when calling commands over SSH
It will help debugging possible issues vs APEX [1].
[1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/792/console
Change-Id: I610f5b0a7774440c51fa086fad4f61c9be0571dc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 19 Feb 2018 22:07:44 +0000 (23:07 +0100)]
Unify security group operations
It updates juju_epc to conform with cloudify_ims and
cloudify_vrouter regarding security group operations.
Change-Id: I2bc4a16ec17f2836564df82d3ceddd3bc73ece7a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 21 Feb 2018 15:03:50 +0000 (16:03 +0100)]
Leverage of snaps creds to get the right region name
Else it gets the defaut value as it's unset in env.
Change-Id: Ic2a9cdaed7891fe2723f960782c81c0cbb04e8f0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 20 Feb 2018 10:51:42 +0000 (11:51 +0100)]
Create a second user in cloudify_vrouter
It mainly bypasses a bug when a similar network name has already been
created.
We can't apply the same operations for cloudify_vims because the key
must be created by the _member_ user.
Snaps haven't allowed that since [1] has been merged
[1] https://gerrit.opnfv.org/gerrit/#/c/52157/
Change-Id: I90131487d0e08a4d95c684efb16a8009c3709a8e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Tue, 20 Feb 2018 10:17:24 +0000 (10:17 +0000)]
Merge "Remove deprecated monkey patches"
Cedric Ollivier [Tue, 20 Feb 2018 10:17:18 +0000 (10:17 +0000)]
Merge "Remove last CONST.__getattribute__()"
Cedric Ollivier [Mon, 19 Feb 2018 20:17:35 +0000 (20:17 +0000)]
Merge "Generate tempest verification report (HTML)"
Cédric Ollivier [Mon, 19 Feb 2018 20:14:06 +0000 (21:14 +0100)]
Remove deprecated monkey patches
OpenStack utils are being removed.
Change-Id: I2a41297034654f678afa5a7a818961a4cd0cee73
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 19 Feb 2018 19:49:00 +0000 (20:49 +0100)]
Remove last CONST.__getattribute__()
Change-Id: I82f6aa1e723c88eebd4c7410da4b9741a482e9bc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 19 Feb 2018 18:41:27 +0000 (19:41 +0100)]
Manage region in cloudify_ims.py
It must be completed by a new change in opnfv-cloudify-clearwater [1].
[1] https://github.com/Orange-OpenSource/opnfv-cloudify-clearwater/pull/18
Change-Id: Ic3a323e33b9742835159f5386e9247c6ac965f51
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 19 Feb 2018 18:31:36 +0000 (19:31 +0100)]
Fix credentials in cloudify_vrouter
It completes [1] which partially fixes cloudify_vrouter [2].
It now handles region name too and formats long arg lists too.
[1] https://gerrit.opnfv.org/gerrit/#/c/52175/
[2] https://gerrit.opnfv.org/gerrit/#/c/50747/
Change-Id: I592d12d7df6837531560acfc4afc0636f485c671
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Juha Kosonen [Mon, 19 Feb 2018 15:47:08 +0000 (17:47 +0200)]
Generate tempest verification report (HTML)
JIRA: FUNCTEST-934
Change-Id: I2befbd3f2b2311f69b24321c7e9544fb43df3a9d
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
Cédric Ollivier [Mon, 19 Feb 2018 12:44:32 +0000 (13:44 +0100)]
Disable orchestra_clearwaterims in functest-vnf
It fixes a typo.
Change-Id: I684eab0ed74e2ebcb6f72442d0b3012d1b5de7aa
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 19 Feb 2018 07:23:14 +0000 (08:23 +0100)]
Precise Tempest tests list
Else full mode could run tests defined in tempest plugins too [1].
[1] https://docs.openstack.org/tempest/latest/plugin-registry.html
Change-Id: I4355b03ba1b9ba47938f748c4f1a8822fd412142
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Juha Kosonen [Mon, 19 Feb 2018 09:18:11 +0000 (11:18 +0200)]
Enhance variable manipulation in tempest
Use getattr/setattr to read/write CONST.
JIRA: FUNCTEST-932
Change-Id: Ic9a944100c60563b16f5d89b622ef7f04183cceb
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
Cédric Ollivier [Fri, 16 Feb 2018 15:16:02 +0000 (16:16 +0100)]
Remove one debug print
Change-Id: I531d1e519fc0352525993c69142eea14b99a3f63
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 16 Feb 2018 18:07:13 +0000 (19:07 +0100)]
Mock additional methods related to OpenStackFlavor
keystone_utils.keystone_client() and keystone_utils.get_project()
have to be mocked when unit testing flavor creation since [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/52157/
Change-Id: I898cde1001c14d0b450c3dd43ade7dca47b1ffb3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 16 Feb 2018 13:19:48 +0000 (14:19 +0100)]
Add suffixes in vnf keypair names
Change-Id: Ia9c8ef535b16326a520367d2c7c98b7e8db4822c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 14 Feb 2018 15:02:53 +0000 (16:02 +0100)]
Get properly env vars or their default values
It defines env.get() as an unique way to get Functest env vars or
their default values. It can be considered as a wrapper above os.environ.
It enforces backward compatibility via CONST which mustn't be used
for that purpose. It should be noted that it also stops using CONST
for getting OpenStack env vars.
Change-Id: I333dc1afbc0123166a7eaff8b551370098efa341
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Thu, 15 Feb 2018 18:30:13 +0000 (18:30 +0000)]
Merge "Removed os_utils and fully switched to snaps"
Cédric Ollivier [Wed, 14 Feb 2018 22:08:29 +0000 (23:08 +0100)]
Add suffixes to OpenStack resource names
All vnf testcases have to add suffixes in OpenStack resources names
simply because the password is now generated before any run [1].
Snaps mainly creates the resource only if unfound in all tenants [2].
Then one remaining resource could easily raise permissions denied.
It avoid conflicts between vrouter and cloudify_ims which are using the
same names.
[1] https://gerrit.opnfv.org/gerrit/#/c/50747/
[2] https://jira.opnfv.org/browse/SNAPS-257
Depends-On: If56cc44fe35ca06bc9033af620ddd3c0586877fe
Change-Id: I1800886e575189b64fdc580a5ee6b59c81fcde5c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 14 Feb 2018 13:14:48 +0000 (14:14 +0100)]
Fix typos in cloudify_ims
Change-Id: I5d29b3e58cae7e9a334ec6f264cdb5e280860d97
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 13 Feb 2018 19:45:30 +0000 (20:45 +0100)]
Stop reading SDN_CONTROLLER env var.
Joid doesn't support ODL and this exception is no longer needed.
It will be a simple switch from SDN_CONTROLLER to SDN_CONTROLLER_IP
if Joid supports ODL again.
Change-Id: I925965f9c1adf24914e4110ff3206443f4063ac8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
soumaya [Wed, 14 Feb 2018 11:59:23 +0000 (17:29 +0530)]
Removed os_utils and fully switched to snaps
JIRA: FUNCTEST-925
Change-Id: Ibcbf42c34b764fda09d4d49513b261aae296a68b
Signed-off-by: soumaya <soumaya.nayek@rebaca.com>
Juha Kosonen [Thu, 15 Feb 2018 14:45:33 +0000 (14:45 +0000)]
Merge "Stop reading NODE_NAME in tempest and refstack"
Cédric Ollivier [Tue, 13 Feb 2018 18:13:28 +0000 (19:13 +0100)]
Stop reading NODE_NAME in tempest and refstack
NODE_NAME should only be read by TestCase when publishing the results
to the database. Other debug data are already printed by run_tests.
INSTALLER_TYPE and DEPLOY_SCENARIO are also unused by refstack.
Change-Id: Ib82d5c1512553beba2c56f4ec2860cb2593f801e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Wed, 14 Feb 2018 09:03:34 +0000 (09:03 +0000)]
Merge "Enable doctor-notification"
Cédric Ollivier [Wed, 14 Feb 2018 07:42:41 +0000 (08:42 +0100)]
Enable doctor-notification
The testcase has been expected to work since the nova bug [1] was
bypassed [2].
[1] https://bugs.launchpad.net/nova/+bug/
1742827
[2] https://gerrit.opnfv.org/gerrit/#/c/52075/
Change-Id: If53da6313381cf69a0093a6677db3d9033fb8f48
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Juha Kosonen [Wed, 14 Feb 2018 07:48:22 +0000 (07:48 +0000)]
Merge "Only filter boot_server_from_volume_and_delete via scenario"
Cedric Ollivier [Tue, 13 Feb 2018 20:36:01 +0000 (20:36 +0000)]
Merge "Remove INSTALLER_IP from Functest"
Cédric Ollivier [Tue, 13 Feb 2018 17:05:49 +0000 (18:05 +0100)]
Only filter boot_server_from_volume_and_delete via scenario
It can be safely merged as only joid supports '^os-nosdn-lxd-(no)?ha$'
scenarios. It aims at testing all installers in the same way which
would have made much sense if another installer supported this
scenarios.
Change-Id: I145102df3f6394b6fff28590923100e0f1e6cb66
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Juha Kosonen [Tue, 13 Feb 2018 15:42:31 +0000 (15:42 +0000)]
Merge "Test vnf in all os-nosdn-nofeature scenarios"