functest.git
6 years agoEase configuring extra specs via env vars 97/63597/1
Delia Popescu [Tue, 9 Oct 2018 09:03:58 +0000 (12:03 +0300)]
Ease configuring extra specs via env vars

Ease configuring flavor extra specs, as well as
image extra specs.

Set environment variables for image_properties and
flavor extra_specs for ovs|fdio scenario from the start.

Image extra_properties and flavor extra_specs
will continue to get updates from functest config file
but so will from IMAGE_PROPERTIES and FLAVOR_EXTRA_SPECS
env variables.

Change-Id: Ie1c69e66d2e2e158915d214402fe44d9991c56d3
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
(cherry picked from commit 1a00b9de56ef65eef2a0b269a514cb25491ac54b)

6 years agoConform with LFN doc rules 39/63539/1
Aric Gardner [Tue, 18 Sep 2018 16:43:39 +0000 (12:43 -0400)]
Conform with LFN doc rules

It hugely hacks docs to move away from submodules.
https://docs.opnfv.org/en/latest/how-to-use-docs/local-build-transition.html

It removes intern reports which can't be integrated in this new model.
All wrong links now deteted are updated.

Change-Id: I9dbebeed041d2e104e3b8e73483f656ba0ef5bb9
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
(cherry picked from commit 1a22e73c850c450305764c784c86dbc067e65dae)

6 years agoUpdate python3 to python3.6 33/63533/1
Cédric Ollivier [Mon, 15 Oct 2018 17:10:28 +0000 (19:10 +0200)]
Update python3 to python3.6

It conforms with Alpine 3.8 (It updates the related tox entry).

Change-Id: I7ba8e3cf5bae2f48ff5d802511a288446bca645a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit b51417c9d2e7d34fec7d4bfa4fd723746e6b28e3)

6 years agoFix image properties parsing 99/63499/1
Cédric Ollivier [Sun, 14 Oct 2018 10:08:03 +0000 (12:08 +0200)]
Fix image properties parsing

It removes useless spaces and now conforms with oslo.conf dict.
New helpers and unit tests are available.

Change-Id: I20335c5e5c3840cc872e158c6072d97a3f2cb98c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 904377462f58464937d4cafeb8c432f024a85bd4)

6 years agoMerge "Add Rally scenarios for testing floating IP" into stable/gambia
Cedric Ollivier [Tue, 9 Oct 2018 12:22:30 +0000 (12:22 +0000)]
Merge "Add Rally scenarios for testing floating IP" into stable/gambia

6 years agoAdd Rally scenarios for testing floating IP 23/63323/1
Juha Kosonen [Tue, 2 Oct 2018 13:27:51 +0000 (16:27 +0300)]
Add Rally scenarios for testing floating IP

rally_sanity:
  NovaServers.boot_server_associate_and_dissociate_floating_ip

rally_full:
  NovaServers.boot_server_associate_and_dissociate_floating_ip
  NovaServers.boot_and_associate_floating_ip

Change-Id: I31b7693828920bae92ff4ac8e7b0fde86e958cb5
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit 6efcc4fe7456663445e9fbda54bba3239288ad73)

6 years agoRemove fds from stable/gambia 17/63317/1
Cédric Ollivier [Tue, 9 Oct 2018 07:45:32 +0000 (09:45 +0200)]
Remove fds from stable/gambia

FDS doesn't participate to Gambia.

Change-Id: I9fb293b2972e0deb318ac9d3d08377039ea247e4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSelect new sdnvpn and barometer gambia branches 99/63299/1
Cédric Ollivier [Tue, 9 Oct 2018 01:08:26 +0000 (03:08 +0200)]
Select new sdnvpn and barometer gambia branches

Change-Id: I3e76b8b75a0bda3b733662fcaf4ae917fc1fe9ce
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUse environment variable for image properties 59/63259/2
Delia Popescu [Thu, 6 Sep 2018 15:37:11 +0000 (18:37 +0300)]
Use environment variable for image properties

Use IMAGE_PROPERTIES environment variable to read extra
image properties.

Set image_extra_properties for scsi volume types
without file patch, but using IMAGE_PROPERTIES env variable
IMAGE_PROPERTIES is defined through releng.

Image extra_properties will continue to get updates from
functest config file

With this change, remove unnecessary parameters from arm patch
Related to:https://gerrit.opnfv.org/gerrit/#/c/63203/

JIRA:ARMBAND-402

Change-Id: I64139240751b1e109bbe24ba32f487ccd98b9a92
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
(cherry picked from commit d7c5419ed8d3dcdb59f4f5f254de0c7bb7a0aec6)

6 years agoRead thirdparty-requirements.txt if py3 47/63247/1
Cédric Ollivier [Sat, 6 Oct 2018 09:37:26 +0000 (11:37 +0200)]
Read thirdparty-requirements.txt if py3

It fixes the current build issues due to unsynced doctor [1].

[1] https://build.opnfv.org/ci/job/functest-features-docker-build-arm64-master/455/console

Change-Id: Iad8b667e2615dcd976cd8120e4204665134922b7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 01509097c7447ee70d61f7e97d7947b127425eac)

6 years agoUpdate gambia's upper-constraints 27/63227/1
Cédric Ollivier [Sat, 6 Oct 2018 08:20:22 +0000 (10:20 +0200)]
Update gambia's upper-constraints

It takes into account the new branches created by sfc and doctor.

Change-Id: I743fb3889de479bc7a1df51e9913bc1eada85ac2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate juju agents 31/62931/1
Cédric Ollivier [Mon, 24 Sep 2018 20:51:32 +0000 (22:51 +0200)]
Update juju agents

It conforms with last juju update.

Change-Id: I4941aac66e5ac96045090f10f197f6ee2712caac
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 1ab7a53dab08a6f67ff2cf54f33b70dea0e82bfb)

6 years agoUpdate Juju to 2.3.9 29/62929/1
Cédric Ollivier [Mon, 24 Sep 2018 06:47:14 +0000 (08:47 +0200)]
Update Juju to 2.3.9

It should fix the key bug about subnet discovery.
Now juju_epc may run in parallel of rally testcases.

Change-Id: I04c1fcf2a18b461e5809d436846aa52c4b2660c8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit a51d42200d94643314ece1a833181a7193ce2265)

6 years agoProtect if default secgroup not created 67/62867/1
Cédric Ollivier [Mon, 24 Sep 2018 04:28:21 +0000 (06:28 +0200)]
Protect if default secgroup not created

https://build.opnfv.org/ci/view/functest/job/functest-compass-virtual-daily-master/lastFailedBuild/console

Change-Id: I2b5f1dc577f98773ad40ed3bcfff609d8d6c4b93
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 5bb60b33a8fad4859b7391576fdfed7cec4c14a8)

6 years agoUpdate tempest_full result 49/62849/1
Cédric Ollivier [Sun, 23 Sep 2018 11:44:58 +0000 (13:44 +0200)]
Update tempest_full result

It's now passing in Orange Openlab.

Change-Id: I487f426346af0ea706da1f38302eae7603b9d477
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit c3dcb96a8b94d7114fa7f25e936015b111f044a0)

6 years agoProtect vs former OS env vars 43/62843/1
Cédric Ollivier [Sun, 23 Sep 2018 09:25:26 +0000 (11:25 +0200)]
Protect vs former OS env vars

rally_jobs is failing vs APEX which still sets OS_TENANT [1].

[1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/324/console

Change-Id: I672bfa93b37b1b773ea7d20fdd91bea0ff14b79f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 83e0e6836d7f5e18eb4eb8c9d28b4e6980b790c2)

6 years agoList default secgroup via orig user 33/62833/1
Cédric Ollivier [Sun, 23 Sep 2018 09:13:18 +0000 (11:13 +0200)]
List default secgroup via orig user

Else the generated account can be already removed [1].

[1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/324/console

Change-Id: I93d88763cdc67cd38286c24ad830244e0c12e019
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix typos in tempest.conf 23/62823/1
Cédric Ollivier [Sun, 23 Sep 2018 04:58:14 +0000 (06:58 +0200)]
Fix typos in tempest.conf

It completes the previous change [1].

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

Change-Id: Ie4c4c5cb374f2bfac6397841f8ddc2cd3b2f524b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 98a4a863935be38f63e78550ddbcf4c1299bfdf1)

6 years agoSet default_domain_id in tempest.conf 13/62813/2
Cédric Ollivier [Sat, 22 Sep 2018 21:48:15 +0000 (23:48 +0200)]
Set default_domain_id in tempest.conf

It allows verifying via non-default domain.

Change-Id: I95ae26fd3bfd1c10421c02d2b4f6e8a9b6aa49e6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 11d28aaf2e726859b59b7511d64dc4dd4b422e1e)

6 years agoSet admin_domain_scope to True (tempest) 01/62801/1
Cédric Ollivier [Sat, 22 Sep 2018 19:35:04 +0000 (21:35 +0200)]
Set admin_domain_scope to True (tempest)

It completes the previous commit [1].
It also sets cidr and fully forces Keystone v3.

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

Change-Id: Ida948a4ff051dc1d1325d29a815c201366a1e33e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit f4b545efe2339bdb5f6117d484e127adda5c8021)

6 years agoList all sheduler filters instead of all 99/62799/1
Cédric Ollivier [Sat, 22 Sep 2018 17:52:15 +0000 (19:52 +0200)]
List all sheduler filters instead of all

It doesn't work as expected as highlighted in [1].

[1] https://review.openstack.org/#/c/570207/

Change-Id: Iaf64345c40e8d62349cd50a6861c1191d25c40b9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit ecc7bc215cdf47104d61ba7e23e5f8ec65ca03c4)

6 years agoClean the default security group 79/62779/1
Cédric Ollivier [Sat, 22 Sep 2018 14:07:47 +0000 (16:07 +0200)]
Clean the default security group

It's not removed when deleting the users and the projects.

Change-Id: Ib5de0885dcbfb558a48cdd20ae3ccc47b7f23748
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit d4e60af2b8f544d774223b16c193dc40bd5dce38)

6 years agoGrant new tempest user as admin in domain too 77/62777/1
Cédric Ollivier [Sat, 22 Sep 2018 12:09:43 +0000 (14:09 +0200)]
Grant new tempest user as admin in domain too

It seems mandatory for test_list_projects_returns_only_authorized_projects

Change-Id: Id994e66b088d751c4f6d7f260f8e482c2ee83307
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 17e87d5af713bb07759c4b2af0c2b40077343a32)

6 years agoStop creating network resources in tempest 75/62775/1
Cédric Ollivier [Sat, 22 Sep 2018 08:49:14 +0000 (10:49 +0200)]
Stop creating network resources in tempest

fixed_network_name is not used in neutron or nova gates [1].
It may bypass juju bug (subnet discovery).

[1] http://logs.openstack.org/46/603046/1/check/tempest-full/a8468a1/controller/logs/tempest_conf.txt

Change-Id: I820e8c723918ed683ed1f8016363eb70bad0d14a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit ac31a32320122ea1683fe9884e5bf1f969678b03)

6 years agoUpdate results in configguide (rally_jobs) 61/62761/1
Cédric Ollivier [Sat, 22 Sep 2018 07:28:43 +0000 (09:28 +0200)]
Update results in configguide (rally_jobs)

Change-Id: Ib00d0341ee56f6009e9346bff6f3fec51590950a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 7236c6b9173550ecb8419eccfd053e7b44b2d379)

6 years agoRemove rally plugins and extra when cleaning 33/62733/1
Cédric Ollivier [Fri, 21 Sep 2018 15:25:44 +0000 (17:25 +0200)]
Remove rally plugins and extra when cleaning

Change-Id: I15393b870d648432c900d429d17129c630ed4f58
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit aff6640b5aed37221a05067e93ee164273c16910)

6 years agoAllow overriding default storage protocol 53/62653/1
Cédric Ollivier [Thu, 20 Sep 2018 11:39:56 +0000 (13:39 +0200)]
Allow overriding default storage protocol

It adds a new env var STORAGE_PROTOCOL to override storage_protocol
in tempest. The default value is unchanged [1].

[1] https://docs.openstack.org/tempest/latest/sampleconf.html

Co-Authored-By: Viktor Tikkanen <viktor.tikkanen@nokia.com>
Change-Id: I19e4e25212b6f6176e3b967e01eb634c15e4d474
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit a561c6ca316feb1a203327aa729ac0317f70df48)

6 years agoMerge "Set scheduler_available_filters to all" into stable/gambia
Juha Kosonen [Thu, 20 Sep 2018 07:32:02 +0000 (07:32 +0000)]
Merge "Set scheduler_available_filters to all" into stable/gambia

6 years agoSet scheduler_available_filters to all 99/62599/1
Cédric Ollivier [Thu, 20 Sep 2018 06:32:09 +0000 (08:32 +0200)]
Set scheduler_available_filters to all

It indicates all filters that are included with nova are enabled [1].

[1] https://docs.openstack.org/tempest/latest/sampleconf.html

Co-Authored-By: Viktor Tikkanen <viktor.tikkanen@nokia.com>
Change-Id: I0d1943941d62d2eee418200c69e8198cd858383e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit ff2ba1fd18b05bf1b031e78d2589028968bbe906)

6 years agoAdd support for Rally OpenStack CI test cases 91/62591/1
Juha Kosonen [Thu, 6 Sep 2018 09:03:42 +0000 (12:03 +0300)]
Add support for Rally OpenStack CI test cases

Include Neutron rally-jobs.

Change-Id: Ic1122962bd7d876d179729640a8a321bc36442d8
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit 5d54a533d25a989dc64a2789788ff2f2fd6ad5c6)

6 years agoModify creation of SecGroup Rule for SSH 81/62581/1
Thierry ALLENO [Mon, 17 Sep 2018 13:55:10 +0000 (15:55 +0200)]
Modify creation of SecGroup Rule for SSH

There is multiple "default" security groups, when user is created
with admin role.

Change-Id: I7555dc9461816dfdaaee36d82d712e25b4b65da7
Signed-off-by: Thierry ALLENO <thierry.alleno@orange.com>
(cherry picked from commit 7488f119f9d9c61c61ef55d53f87de0e671fed23)

6 years agoCorrect proxy configuration for VNF VM 65/62565/1
Thierry ALLENO [Mon, 17 Sep 2018 13:10:18 +0000 (15:10 +0200)]
Correct proxy configuration for VNF VM

The configuration of proxy for apt is missing in ubuntu images.
Line Feed is missing in cloudify conf files.

Change-Id: I3237b914e993c57f4fe3ed568690d2d9a41c0bdf
Signed-off-by: Thierry ALLENO <thierry.alleno@orange.com>
(cherry picked from commit be864b0de9f0f990984ad9e3c2d20b694e1b2c26)

6 years agoFix branch in ci/globals.yaml 03/62403/1
Cédric Ollivier [Sun, 16 Sep 2018 10:46:16 +0000 (12:46 +0200)]
Fix branch in ci/globals.yaml

Change-Id: Ide63c601b50ec2f6f02ef2682035b937ca2a1662
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate snaps commit id 67/62367/1
Michael Polenchuk [Fri, 14 Sep 2018 07:02:14 +0000 (11:02 +0400)]
Update snaps commit id

In order to get fix for ovs/dpdk based scenarios vs snaps_smoke suite.

Change-Id: Ib815d96968daa13ae186e2dd6ae0a7686347bb13
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 10c28973e21e9074e2ea81458504aba753de439b)

6 years agoUpdate Release Notes 09/62309/1
Cédric Ollivier [Thu, 6 Sep 2018 19:12:00 +0000 (21:12 +0200)]
Update Release Notes

Change-Id: I51fd66dc73bb5f0628454eabbd629a6fbda3666d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix typo 63/62263/1
Cédric Ollivier [Thu, 13 Sep 2018 14:02:47 +0000 (16:02 +0200)]
Fix typo

This line should have been deleted by the previous commit.

Change-Id: I18eb2dcc3c6124127c2bba2c9ec6e524caae8b09
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove former logics 53/62253/1
Cédric Ollivier [Thu, 13 Sep 2018 12:54:29 +0000 (14:54 +0200)]
Remove former logics

It's now useless as Functest is synced with OpenStack master.

Change-Id: Ic571f77fb30bc4ef3f70f07a6e411ca5e4f8b2f1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove former logic for tempest 35/62235/1
Cédric Ollivier [Thu, 13 Sep 2018 09:39:36 +0000 (11:39 +0200)]
Remove former logic for tempest

It's now useless as Functest master conform with OpenStack master.

Change-Id: Ibb08d40a721a9fa114967c6a504804b641b4a881
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoPrepare gambia Docker tags 29/62229/1
Cédric Ollivier [Thu, 13 Sep 2018 09:20:02 +0000 (11:20 +0200)]
Prepare gambia Docker tags

Change-Id: I409975acd1493e2f5a6bdcb3a4bd6ff6e383e02e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdated from global requirements 93/62193/1
Cédric Ollivier [Thu, 13 Sep 2018 07:14:04 +0000 (09:14 +0200)]
Updated from global requirements

Change-Id: Id9709fbffb0f66b1e180ce28bf7eed6397e014a6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate .gitreview 81/62181/1
Cédric Ollivier [Thu, 13 Sep 2018 05:46:05 +0000 (07:46 +0200)]
Update .gitreview

Change-Id: I242e40ffe6fb138b0c5a136fa46ee6d89ec0cde6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoEase adding proxies in vms 29/62029/6
Cédric Ollivier [Mon, 10 Sep 2018 04:12:44 +0000 (06:12 +0200)]
Ease adding proxies in vms

It eases running VNFs behind proxies as they download packages.

Change-Id: I187078dab744c51188b9835417d1a29fad1b4bd6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix godeps commit id 55/62055/3
Cédric Ollivier [Mon, 10 Sep 2018 13:10:33 +0000 (15:10 +0200)]
Fix godeps commit id

Change-Id: I7af07849fb70ef53f293002f313035b46731b705
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoStop including html files in devguide 19/62019/1
Cédric Ollivier [Sun, 9 Sep 2018 11:49:56 +0000 (13:49 +0200)]
Stop including html files in devguide

The output is wrong and obsolete.

Change-Id: Ib2faa161ebabfa51d677c38a0ec3943faf6f919c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoClean user/project after skipping testcases 17/62017/1
Cédric Ollivier [Sun, 9 Sep 2018 09:26:32 +0000 (11:26 +0200)]
Clean user/project after skipping testcases

It avoids remaining resources after skipping a tempest-based testcase.

Change-Id: I0a993486c6e9265d15166d5eed5a612875d29b08
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate Config Guide 27/61927/2
Cédric Ollivier [Thu, 6 Sep 2018 19:10:39 +0000 (21:10 +0200)]
Update Config Guide

Change-Id: Ia3ab203a22db252ba3603d8a9f335c0257f0523b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Stop cloning when running vyos_vrouter"
Cedric Ollivier [Sat, 8 Sep 2018 12:31:50 +0000 (12:31 +0000)]
Merge "Stop cloning when running vyos_vrouter"

6 years agoStop cloning when running vyos_vrouter 99/61999/2
Cédric Ollivier [Fri, 7 Sep 2018 21:15:25 +0000 (23:15 +0200)]
Stop cloning when running vyos_vrouter

It moves the clone operation into docker build instead.

Change-Id: I296005d8638510a999665d383a26c4fcd48897a6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Fix dict conversion in tempest.conf"
Cedric Ollivier [Sat, 8 Sep 2018 08:00:36 +0000 (08:00 +0000)]
Merge "Fix dict conversion in tempest.conf"

6 years agoFix dict conversion in tempest.conf 05/62005/1
Cédric Ollivier [Sat, 8 Sep 2018 07:36:28 +0000 (09:36 +0200)]
Fix dict conversion in tempest.conf

https://github.com/openstack/oslo.config/blob/master/oslo_config/types.py#L600
https://build.opnfv.org/ci/view/fuel/job/functest-fuel-virtual-daily-master/817/consoleFull

Change-Id: Icde9938bb9f6c0c37d2504317f31b0af4ef9ee8e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Remove one useless security group"
Cedric Ollivier [Fri, 7 Sep 2018 20:39:47 +0000 (20:39 +0000)]
Merge "Remove one useless security group"

6 years agoRemove one useless security group 89/61989/1
Cédric Ollivier [Fri, 7 Sep 2018 09:32:33 +0000 (11:32 +0200)]
Remove one useless security group

This rule breaks lookup when the user created is admin.

Change-Id: I2fe3dba687bd5d151cd7e53217586a0bcb21815d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoDo not raise exceptions in conf_utils 81/61981/2
Juha Kosonen [Fri, 7 Sep 2018 10:54:38 +0000 (13:54 +0300)]
Do not raise exceptions in conf_utils

Return a reasonable value for caller to process.

Change-Id: I5a83544aaebb4e53db37ddaa13033d77848722b8
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
6 years agoAdd role to users created by rally if required 25/61925/1
Cédric Ollivier [Thu, 6 Sep 2018 12:03:22 +0000 (14:03 +0200)]
Add role to users created by rally if required

It sets [openstack] keystone_default_role if NEW_USER_ROLE differs
from member.

Change-Id: Ib6be5cf22654e882ea110298cba421c1e87c78fd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoConform with Barbican gates 57/61857/3
Cédric Ollivier [Wed, 5 Sep 2018 19:48:24 +0000 (21:48 +0200)]
Conform with Barbican gates

tempest.conf conforms with Devstack post-actions [1].

One test is still disabled as it may force to sign all images.
A deeper analysis has to be done before enabling it.

[1] https://github.com/openstack/barbican-tempest-plugin/blob/master/tools/pre_test_hook.sh

Change-Id: I163c0e7c4671ca67f0b6c127c29fdcb12a8e426b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate scenario section in tempest.conf 51/61851/2
Cédric Ollivier [Wed, 5 Sep 2018 13:17:04 +0000 (15:17 +0200)]
Update scenario section in tempest.conf

It's required at least by Barbican tempest plugin.

Change-Id: I46a65ee5fee044917c5375adaa8ebb529efe86ec
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Protect vs OS_ENDPOINT_TYPE in shaker"
Cedric Ollivier [Tue, 4 Sep 2018 18:54:23 +0000 (18:54 +0000)]
Merge "Protect vs OS_ENDPOINT_TYPE in shaker"

6 years agoProtect vs OS_ENDPOINT_TYPE in shaker 07/61807/1
Cédric Ollivier [Tue, 4 Sep 2018 09:18:08 +0000 (11:18 +0200)]
Protect vs OS_ENDPOINT_TYPE in shaker

Else a conflict can occur between OS_INTERFACE and OS_ENDPOINT_TYPE.

Change-Id: I3e0237857f95e506706fb852889308ea82e41e84
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Remove vmtp and shaker from docker/smoke/testcases.yaml"
Cedric Ollivier [Tue, 4 Sep 2018 08:48:01 +0000 (08:48 +0000)]
Merge "Remove vmtp and shaker from docker/smoke/testcases.yaml"

6 years agoMerge "Create network via admin user"
Cedric Ollivier [Tue, 4 Sep 2018 08:00:00 +0000 (08:00 +0000)]
Merge "Create network via admin user"

6 years agoRemove vmtp and shaker from docker/smoke/testcases.yaml 93/61793/2
Cédric Ollivier [Tue, 4 Sep 2018 05:26:06 +0000 (07:26 +0200)]
Remove vmtp and shaker from docker/smoke/testcases.yaml

Change-Id: Ic5754821542e873bb7d33a8864a852993947b762
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAvoid cloning repos 83/61783/1
Cédric Ollivier [Mon, 3 Sep 2018 19:37:28 +0000 (21:37 +0200)]
Avoid cloning repos

It inits the repos and fetch the required tags/ids/branches.
All tags are fetched to meet pbr requirements.

Change-Id: I0accd8ad04b93d63857e301dea11af69e0edf957
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoCreate network via admin user 41/61741/3
Cédric Ollivier [Mon, 3 Sep 2018 06:10:03 +0000 (08:10 +0200)]
Create network via admin user

It creates the network via admin user as segmentation id may be set.

Change-Id: I853f40e09aee9a658fc2373cd7e8bf00e3c0c3ad
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Refactor RallyBase"
Cedric Ollivier [Mon, 3 Sep 2018 11:47:28 +0000 (11:47 +0000)]
Merge "Refactor RallyBase"

6 years agoRefactor RallyBase 69/61669/4
Juha Kosonen [Fri, 31 Aug 2018 14:04:55 +0000 (17:04 +0300)]
Refactor RallyBase

This provides a more generic way to integrate test case lists which are
not hosted in Functest.

Also removes vm scenarios since they have never been a part of actual
rally runs.

Change-Id: Ib0a020fe72800915bbf2d10ecc690a248d33c246
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
6 years agoUpdate tempest plugins tags 39/61739/1
Cédric Ollivier [Mon, 3 Sep 2018 03:31:35 +0000 (05:31 +0200)]
Update tempest plugins tags

Neutron and Barbican tempest plugins have just been released.

Change-Id: Ib9c523e9a75dae31249fd84ba454d0ef8537ca1d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSwitch from tempest section to openstack 37/61737/1
Cédric Ollivier [Mon, 3 Sep 2018 03:30:43 +0000 (05:30 +0200)]
Switch from tempest section to openstack

Rally warns from these deprecated conf sections.

Change-Id: I15933c4f2cda14384e53202ec22f438a586d7b05
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMove shaker and vmtp into functest-benchmarking 11/61711/6
Cédric Ollivier [Sun, 2 Sep 2018 10:20:26 +0000 (12:20 +0200)]
Move shaker and vmtp into functest-benchmarking

It also updates all jobs and fixes Dockerhub hooks.

Change-Id: Ib182155736b4dbdb829293081741a9d5cb8ea6d7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate Xtesting to 0.60 21/61721/3
Cédric Ollivier [Sun, 2 Sep 2018 12:09:42 +0000 (14:09 +0200)]
Update Xtesting to 0.60

Xtesting leverages on stevedore [1] which will bring much more
flexibility (discovery, module or class renaming, etc).

OPNFV Features have to be updated as well:
  - https://gerrit.opnfv.org/gerrit/61713
  - https://gerrit.opnfv.org/gerrit/61715
  - https://gerrit.opnfv.org/gerrit/61717
  - https://gerrit.opnfv.org/gerrit/61719

[1] https://docs.openstack.org/stevedore/latest/

Change-Id: I0ce45eb6c9af66546c2c020eb962fa457f6c7e1a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Optimize fetch"
Cedric Ollivier [Sun, 2 Sep 2018 09:23:55 +0000 (09:23 +0000)]
Merge "Optimize fetch"

6 years agoOptimize fetch 03/61703/1
Cédric Ollivier [Sun, 2 Sep 2018 08:09:08 +0000 (10:09 +0200)]
Optimize fetch

depth 1 is set when fetching.

Change-Id: I1b470d1e370e18de9b3cfa51e5aea0374f76cac6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge changes Ib7384772,I94e94c21
Cedric Ollivier [Sun, 2 Sep 2018 07:25:00 +0000 (07:25 +0000)]
Merge changes Ib7384772,I94e94c21

* changes:
  Update to Alpine 3.8
  Publish unit test report

6 years agoUpdate to Alpine 3.8 93/61693/1
Cédric Ollivier [Sat, 1 Sep 2018 20:18:28 +0000 (22:18 +0200)]
Update to Alpine 3.8

https://alpinelinux.org/posts/Alpine-3.8.0-released.html

Change-Id: Ib7384772175dd83f735d8cfbfafa1cef3fdc382c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge changes I4079fa36,I3ad7a38e
Cedric Ollivier [Sat, 1 Sep 2018 17:56:50 +0000 (17:56 +0000)]
Merge changes I4079fa36,I3ad7a38e

* changes:
  Allow refs as vnf requirement versions
  Avoid downloading git history

6 years agoPublish unit test report 81/61681/5
Cédric Ollivier [Fri, 31 Aug 2018 18:54:42 +0000 (20:54 +0200)]
Publish unit test report

It leverages on nosehtmloutput [1]

[1] https://github.com/openstack-infra/nose-html-output

Change-Id: I94e94c2127b4ff8e032e121dd2bd56b3c22809f8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAllow refs as vnf requirement versions 67/61667/9
Cédric Ollivier [Fri, 31 Aug 2018 14:02:02 +0000 (16:02 +0200)]
Allow refs as vnf requirement versions

Change-Id: I4079fa3641373eee40f8a876a2a525635f2752eb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAvoid downloading git history 65/61665/9
Cédric Ollivier [Fri, 31 Aug 2018 13:58:14 +0000 (15:58 +0200)]
Avoid downloading git history

It decreases container build duration.
depth 1 is set only when TAG is not a commit id because
github.com doesn't advertise commit ids.

It switches to git.openstack.org as much as possible.

Change-Id: I3ad7a38eda0f7023302d71bb55de23828120f599
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Add concurrency parameter to refstack_defcore tests"
Cedric Ollivier [Fri, 31 Aug 2018 14:35:44 +0000 (14:35 +0000)]
Merge "Add concurrency parameter to refstack_defcore tests"

6 years agoEnsure len(project_name) < 64 73/61573/1
Cédric Ollivier [Thu, 30 Aug 2018 05:47:48 +0000 (07:47 +0200)]
Ensure len(project_name) < 64

https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/259/console
https://build.opnfv.org/ci/view/functest/job/functest-fuel-baremetal-daily-master/428/console

Change-Id: Ib64878962a71b6b45ef039fce8bfaa43172b2498
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Create new project/user for tempest tests"
Cedric Ollivier [Wed, 29 Aug 2018 18:12:27 +0000 (18:12 +0000)]
Merge "Create new project/user for tempest tests"

6 years agoAdd concurrency parameter to refstack_defcore tests 37/61537/1
Dimitrios Markou [Wed, 29 Aug 2018 12:03:40 +0000 (15:03 +0300)]
Add concurrency parameter to refstack_defcore tests

In fraser release we observed that refstack tests are executed in parallel
and that might causes problems in CI because without concurrency
parameter it will try to use as many cpus as possible and that might
lead to race condition issues.

This patch is created for backporting purposes to fraser branch
where the problem occurs.

JIRA: DOVETAIL-662

Change-Id: I6cf0ad3a32e88f04abd00d69523aa8ac47c39470
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
6 years agoCreate new project/user for tempest tests 19/61519/1
Juha Kosonen [Wed, 29 Aug 2018 10:59:49 +0000 (13:59 +0300)]
Create new project/user for tempest tests

JIRA: FUNCTEST-1009

Change-Id: I6b9bca3827ba6cc804c25689a896ca63eec6a78b
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
6 years agoMerge "Support pre-Provisioned credentials"
Cedric Ollivier [Wed, 29 Aug 2018 09:16:16 +0000 (09:16 +0000)]
Merge "Support pre-Provisioned credentials"

6 years agoSupport pre-Provisioned credentials 85/61485/1
Cédric Ollivier [Tue, 28 Aug 2018 21:49:16 +0000 (23:49 +0200)]
Support pre-Provisioned credentials

If USE_DYNAMIC_CREDENTIALS = False, Functest is expected for
/home/opnfv/functest/data/accounts.yaml which contains the set of
pre-existing credentials to use for testing [1].

It also sets admin_domain_scope and default_credentials_domain_name.

[1] https://docs.openstack.org/tempest/latest/configuration.html

Change-Id: Ie7b81f0c56049260ca99b8e3a6d58cb8a2660659
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Remove installer type from rally blacklist"
Cedric Ollivier [Tue, 28 Aug 2018 15:47:35 +0000 (15:47 +0000)]
Merge "Remove installer type from rally blacklist"

6 years agoMerge "Remove installer type from tempest blacklist"
Cedric Ollivier [Tue, 28 Aug 2018 15:47:30 +0000 (15:47 +0000)]
Merge "Remove installer type from tempest blacklist"

6 years agoMerge "Allow adding a specific role to users created by tempest"
Cedric Ollivier [Tue, 28 Aug 2018 14:59:04 +0000 (14:59 +0000)]
Merge "Allow adding a specific role to users created by tempest"

6 years agoAllow adding a specific role to users created by tempest 69/61469/2
Cédric Ollivier [Tue, 28 Aug 2018 12:52:03 +0000 (14:52 +0200)]
Allow adding a specific role to users created by tempest

It may allow bypassing RBAC policies if required.

Change-Id: I3b7ad44d7b80f8ea757846afdcd787b686c52856
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove installer type from tempest blacklist 67/61467/2
Juha Kosonen [Tue, 28 Aug 2018 12:32:22 +0000 (15:32 +0300)]
Remove installer type from tempest blacklist

Enables utilization of blacklist also on non-OPNFV environments since
there is no link to installer type.

JIRA: FUNCTEST-1008

Change-Id: I3a012b8b7e7dbd049f8794dff3c9d56dcc1cadad
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
6 years agoMerge "Protect vs TypeErrors when cleaning stacks"
Cedric Ollivier [Tue, 28 Aug 2018 11:55:50 +0000 (11:55 +0000)]
Merge "Protect vs TypeErrors when cleaning stacks"

6 years agoRemove installer type from rally blacklist 63/61463/1
Juha Kosonen [Tue, 28 Aug 2018 11:49:24 +0000 (14:49 +0300)]
Remove installer type from rally blacklist

Enables utilization of blacklist also on non-OPNFV environments since
there is no link to installer type.

JIRA: FUNCTEST-1008

Change-Id: I3eb4377af153480794c1a71c5d7ef3e78dacacb9
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
6 years agoProtect vs TypeErrors when cleaning stacks 57/61457/2
Cédric Ollivier [Tue, 28 Aug 2018 09:29:35 +0000 (11:29 +0200)]
Protect vs TypeErrors when cleaning stacks

It protects vs exceptions raised by shade when cleaning stacks.

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/functest/opnfv_tests/vnf/ims/heat_ims.py", line 226, in clean
    self.cloud.delete_stack(self.stack.id, wait=True)
  File "/usr/lib/python2.7/site-packages/shade/openstackcloud.py", line 1416, in delete_stack
    marker=marker)
  File "/usr/lib/python2.7/site-packages/shade/_heat/event_utils.py", line 90, in poll_for_events
    stack_status = stack['stack_status']
TypeError: 'NoneType' object has no attribute '__getitem__'

Change-Id: I1a0ed0cd669d5234ca1ff3b6bbc9d1b13f14b02f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix snaps commit id 47/61447/1
Cédric Ollivier [Tue, 28 Aug 2018 07:39:55 +0000 (09:39 +0200)]
Fix snaps commit id

Snaps is part of main Functest testcases (Healthcheck).
A fixed version has to be pulled.

We will switch later to snaps packages instead of commit ids.

Change-Id: Ibbc3f1009233ccfb67463b49203b756ea86d3121
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSupport VIO (VMware in OpenStack) 31/61431/1
Cédric Ollivier [Mon, 27 Aug 2018 18:24:47 +0000 (20:24 +0200)]
Support VIO (VMware in OpenStack)

It allows converting all images to vmdk and then patching all
testcases. DEPLOY_SCENARIO should match vio to do so.

convert_images.sh has to be called as prerequisite.

JIRA: FUNCTEST-992
JIRA: FUNCTEST-993

Change-Id: Ie35bf80af1cd9610a8c416ec01b81b61c6148cfe
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUse only one image in heat_ims 29/61429/1
Cédric Ollivier [Mon, 27 Aug 2018 18:23:23 +0000 (20:23 +0200)]
Use only one image in heat_ims

It calls VmReady2.run instead of publishing alt image.

Change-Id: If24741fbc5bf7fa3f61ef39a054b148ce53fc4fc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAvoid duplicating jjb names 95/61395/1
Cédric Ollivier [Sun, 26 Aug 2018 09:30:11 +0000 (11:30 +0200)]
Avoid duplicating jjb names

It allows loading functest and functest-kubernetes jjbs in one
Jenkins.

Change-Id: Ia52e84583bc25aad0d1508096b536cbd5585d261
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSet juju wait version 83/61383/2
Cédric Ollivier [Sat, 25 Aug 2018 09:58:42 +0000 (11:58 +0200)]
Set juju wait version

It's mandatory before releasing.

Change-Id: Iac7b49fb1061b39ee6683e7b30f163cfc2060a95
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSet Neutron and Barbican tempest plugins commit ids 81/61381/1
Cédric Ollivier [Sat, 25 Aug 2018 09:53:58 +0000 (11:53 +0200)]
Set Neutron and Barbican tempest plugins commit ids

They are mandatory before releasing.

Change-Id: I2980536e28d183343ff0a9520ca9ee663e437fee
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove INSTALLER_TYPE logics in odl 79/61379/2
Cédric Ollivier [Sat, 25 Aug 2018 08:51:32 +0000 (10:51 +0200)]
Remove INSTALLER_TYPE logics in odl

JIRA: APEX-621
JIRA: COMPASS-606

Change-Id: I76dde66aefc67f80b40496f705f2864ea9355dcf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate pip to last version 77/61377/2
Cédric Ollivier [Sat, 25 Aug 2018 08:46:29 +0000 (10:46 +0200)]
Update pip to last version

It allows downloading refs (gerrit reviews).

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