functest.git
5 years agoPrepare OPNFV Functest releases 55/64255/1 opnfv-8.0.0
Cédric Ollivier [Tue, 30 Oct 2018 19:28:24 +0000 (20:28 +0100)]
Prepare OPNFV Functest releases

It sets version to 8.

Change-Id: Iedf689497256ec10edec7c1b93e8426a3be0ce13
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMerge "Move tempest logics in tempest_conf.yaml" into stable/hunter
Cedric Ollivier [Mon, 29 Oct 2018 01:45:14 +0000 (01:45 +0000)]
Merge "Move tempest logics in tempest_conf.yaml" into stable/hunter

5 years agoUpdate rally and rally-openstack tags 15/64115/2
Cédric Ollivier [Sat, 27 Oct 2018 09:33:17 +0000 (11:33 +0200)]
Update rally and rally-openstack tags

It switches from commit id to tag in case of rally-openstack.

Change-Id: I0316f33e960b1ddc50acdae20603eeeaba3e6942
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMove tempest logics in tempest_conf.yaml 99/64099/1
Cédric Ollivier [Fri, 26 Oct 2018 11:08:23 +0000 (13:08 +0200)]
Move tempest logics in tempest_conf.yaml

It allows removing OPNFV logics out of Functest (releng) and then
simplifies conf_utils.

tempest.conf is filled by the current default values.

functest-alpine.sh will be updated to allow modifying the default
values without breaking the OPNFV installers.

It deprecates the only tempest-related env var (STORAGE_PROTOCOL)

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

5 years agoTemporarily disable Cinder volumes backup tests 55/64055/1
Cédric Ollivier [Fri, 26 Oct 2018 08:52:12 +0000 (10:52 +0200)]
Temporarily disable Cinder volumes backup tests

From the time being, all OPNFV installers [1][2][3] don't support
Cinder volumes backup.

We will find a better way to handle the lack of OPNFV requiremements
(these tests pass succesfully in Orange Openlab).

At least, it will allow verifying tempest_full in OPNFV gates.

[1] Apex: https://artifacts.opnfv.org/logs/functest/lf-pod1/2018-10-25_02-17-25/tempest_full/tempest-report.html
[2] Compass: https://artifacts.opnfv.org/logs/functest/huawei-virtual9/2018-10-24_04-54-25/tempest_full/tempest-report.html
[3] Fuel: https://artifacts.opnfv.org/logs/functest/lf-pod2/gambia/2018-10-25_05-57-54/tempest_full/tempest-report.html

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

5 years agoTemporarily disable VNC tests 45/64045/1
Cédric Ollivier [Fri, 26 Oct 2018 07:11:02 +0000 (09:11 +0200)]
Temporarily disable VNC tests

At least Compass and Fuel configure Spice as console [1][2].
It disables vnc testing as it could fail for endusers as well.

[1] https://artifacts.opnfv.org/logs/functest/huawei-virtual9/2018-10-24_04-54-25/tempest_full/tempest-report.html
[2] https://artifacts.opnfv.org/logs/functest/lf-pod2/gambia/2018-10-25_05-57-54/tempest_full/tempest-report.html

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

5 years agoRevert "Temporarily switch to collivier/abot_charm" 19/64019/1
Cédric Ollivier [Thu, 25 Oct 2018 11:09:54 +0000 (13:09 +0200)]
Revert "Temporarily switch to collivier/abot_charm"

This reverts commit 204835a691869dc22031d207787f83a2a2937b0c.

Change-Id: Ib64c3bd331f412692de3cac3ddff3b18e6bf819a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoTemporarily switch to collivier/abot_charm 07/64007/1
Cédric Ollivier [Thu, 25 Oct 2018 09:47:12 +0000 (11:47 +0200)]
Temporarily switch to collivier/abot_charm

It hosts a key fix which should be merged in the right repo.
This patch can be safely reverted as soon as [1] is merged.

[1] https://github.com/RebacaInc/abot_charm/pull/3

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

5 years agoDisable Glance API v1 33/63933/1
Cédric Ollivier [Tue, 23 Oct 2018 20:17:51 +0000 (22:17 +0200)]
Disable Glance API v1

It has been deprecated since Newton [1].
Even if the related tests are skipped in latest tempest [2], API v1
has to be disabled in Gambia's tempest.conf [3].

[1] https://docs.openstack.org/glance/latest/user/glanceapi.html
[2] https://artifacts.opnfv.org/logs/functest/lf-pod1/2018-10-22_02-34-24/tempest_full/tempest-report.html
[3] https://artifacts.opnfv.org/logs/functest/lf-pod1/gambia/2018-10-23_10-34-07/tempest_full/tempest-report.html

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

5 years agoOverprotect vmtp vs unversioned OS_AUTH_URL 19/63919/1
Cédric Ollivier [Tue, 23 Oct 2018 16:08:07 +0000 (18:08 +0200)]
Overprotect vmtp vs unversioned OS_AUTH_URL

It simply adds v3 to OS_AUTH_URL if required.
Vtmp should be updated to manage unversioned url [1].

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

Co-Authored-By: Juha Kosonen <juha.kosonen@nokia.com>
Change-Id: I4806e811c0714b061b77f940934830cfb1835d74
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 5ac878fe7cccbfe5cb829488d0aedc307dd42885)

5 years agoHarden Rally generate report 45/63845/2
Cédric Ollivier [Sun, 21 Oct 2018 15:03:51 +0000 (17:03 +0200)]
Harden Rally generate report

It converts html_file to str and raises all possible exceptions.
It sometimes fails when locally generating reports.

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

5 years agoList neutron exts and service providers in connection_check 29/63829/3
Cédric Ollivier [Sun, 21 Oct 2018 10:32:15 +0000 (12:32 +0200)]
List neutron exts and service providers in connection_check

It eases debugging as well [1].

[1] https://artifacts.opnfv.org/logs/functest/lf-pod1/2018-10-20_12-23-41/patrole/tempest-report.html

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

5 years agoSwitch SCAP url 37/63837/1
Cédric Ollivier [Sun, 21 Oct 2018 12:04:44 +0000 (14:04 +0200)]
Switch SCAP url

The former link is unreachable 502 [1].

[1] https://build.opnfv.org/ci/job/functest-verify-unit-tests-and-docs-gambia/96/console

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

5 years agoTemporarily disable py36 55/63755/2
Cédric Ollivier [Fri, 19 Oct 2018 14:08:12 +0000 (16:08 +0200)]
Temporarily disable py36

Build servers haven't been updated yet to support py36.

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

5 years agoRemove Functest gating 21/63721/1
Cédric Ollivier [Thu, 18 Oct 2018 23:37:37 +0000 (01:37 +0200)]
Remove Functest gating

It would make confusion to print OPNFV installer results as they are
not so good.

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

5 years agoMove LF doc files into a new dir 39/63639/1
Cédric Ollivier [Wed, 17 Oct 2018 09:00:25 +0000 (11:00 +0200)]
Move LF doc files into a new dir

rtd forces conf.py to be in the root dir.
Then it moves all LF files into a dedicated dir and reverts rtd
config.py.

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

5 years agoFix links to remove references to submodules 37/63637/1
Aric Gardner [Fri, 14 Sep 2018 21:07:38 +0000 (17:07 -0400)]
Fix links to remove references to submodules

It forces one single documentation.

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

5 years agoMerge "Ease configuring extra specs via env vars" into stable/hunter
Cedric Ollivier [Tue, 16 Oct 2018 16:04:36 +0000 (16:04 +0000)]
Merge "Ease configuring extra specs via env vars" into stable/hunter

5 years agoEase configuring extra specs via env vars 99/63599/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)

5 years agoDo not create files in site-package directory 67/63567/1
Juha Kosonen [Mon, 15 Oct 2018 14:23:23 +0000 (17:23 +0300)]
Do not create files in site-package directory

Use /home/opnfv/functest/data/rally/task directory for storing
temporary files when running rally tasks.

Also removes unused vm scenario from task service list.

Change-Id: Icfd4f99ebe6194360bda8bd88e497e018a9541a0
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit 520331a06750dd02228f840c346402f52fb864e8)

5 years agoConform with LFN doc rules 37/63537/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)

5 years agoUpdate python3 to python3.6 31/63531/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)

5 years agoFix image properties parsing 97/63497/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)

5 years agoAdd Rally scenarios for testing floating IP 25/63325/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)

5 years agoEnable bgpvpn and barometer 01/63301/1
Cédric Ollivier [Tue, 9 Oct 2018 01:14:32 +0000 (03:14 +0200)]
Enable bgpvpn and barometer

They are being synchronized to OpenStack Rocky.

Change-Id: I58f45bac24714faaa1cc2738ef04b50cd179f7be
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRename IMG_PROP to IMAGE_PROPERTIES 89/63289/1
Cédric Ollivier [Sat, 6 Oct 2018 06:26:39 +0000 (08:26 +0200)]
Rename IMG_PROP to IMAGE_PROPERTIES

Any other env vars are reduced.

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

5 years agoUse environment variable for image properties 79/63279/1
Delia Popescu [Thu, 6 Sep 2018 15:37:11 +0000 (18:37 +0300)]
Use environment variable for image properties

Use IMG_PROP environment variable to read extra image
properties.

Set image_extra_properties for scsi volume types
without file patch, but using IMG_PROP env variable
IMG_PROP 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)

5 years agoRead thirdparty-requirements.txt if py3 45/63245/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)

5 years agoEnable sfc and doctor in hunter 41/63241/2
Cédric Ollivier [Sat, 6 Oct 2018 08:59:05 +0000 (10:59 +0200)]
Enable sfc and doctor in hunter

sfc [1] and doctor [2] master are being synced with OpenStack Rocky.

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

Change-Id: Id5d41fa98ab5f00703d557ce82cb2037bc827c2b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate juju agents 27/62927/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)

5 years agoUpdate Juju to 2.3.9 25/62925/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)

5 years agoProtect if default secgroup not created 63/62863/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)

5 years agoUpdate tempest_full result 51/62851/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)

5 years agoProtect vs former OS env vars 41/62841/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)

5 years agoList default secgroup via orig user 35/62835/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>
5 years agoFix typos in tempest.conf 25/62825/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)

5 years agoSet default_domain_id in tempest.conf 11/62811/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)

5 years agoSet admin_domain_scope to True (tempest) 97/62797/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)

5 years agoList all sheduler filters instead of all 95/62795/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)

5 years agoClean the default security group 73/62773/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)

5 years agoGrant new tempest user as admin in domain too 71/62771/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)

5 years agoStop creating network resources in tempest 69/62769/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)

5 years agoUpdate results in configguide (rally_jobs) 59/62759/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)

5 years agoRemove rally plugins and extra when cleaning 35/62735/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)

5 years agoAllow overriding default storage protocol 51/62651/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)

5 years agoSet scheduler_available_filters to all 97/62597/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)

5 years agoAdd support for Rally OpenStack CI test cases 89/62589/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)

5 years agoModify creation of SecGroup Rule for SSH 79/62579/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)

5 years agoCorrect proxy configuration for VNF VM 63/62563/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)

5 years agoFix branch in ci/globals.yaml 01/62401/1
Cédric Ollivier [Sun, 16 Sep 2018 10:45:13 +0000 (12:45 +0200)]
Fix branch in ci/globals.yaml

Change-Id: Ic213081b740622dc7ed685a76c521adcb357f62a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoDisable test_auto_allocated_topology_rbac in patrole 71/62371/1
Cédric Ollivier [Sat, 15 Sep 2018 08:56:25 +0000 (10:56 +0200)]
Disable test_auto_allocated_topology_rbac in patrole

It fails at least vs OpenStack Queens.
OPNFV Gambia Installers are still falsy running latest then we do
disable it.

It has to be double checked as soon as Functest can be verified vs
Rocky or newer.

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

5 years agoUpdate snaps commit id 65/62365/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)

5 years agoChange dir when calling stestr 31/62331/1
Cédric Ollivier [Fri, 14 Sep 2018 18:10:15 +0000 (20:10 +0200)]
Change dir when calling stestr

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

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

5 years agoUpdate Release Notes 07/62307/2
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>
5 years agoUpdate get_openstack_version() 01/62301/1
Cédric Ollivier [Fri, 14 Sep 2018 05:11:13 +0000 (07:11 +0200)]
Update get_openstack_version()

It takes Rocky maximum version into account.

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

5 years agoDisable all OPNFV Features 87/62287/2
Cédric Ollivier [Thu, 13 Sep 2018 19:56:51 +0000 (21:56 +0200)]
Disable all OPNFV Features

For the time being, none is synced to run vs OpenStack master or
Rocky.

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

5 years agoUpdate Patrole to 0.4.0 83/62283/2
Cédric Ollivier [Thu, 13 Sep 2018 19:45:29 +0000 (21:45 +0200)]
Update Patrole to 0.4.0

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

5 years agoUpdate networking-sfc and networking-bgpvpn 77/62277/2
Cédric Ollivier [Thu, 13 Sep 2018 18:57:56 +0000 (20:57 +0200)]
Update networking-sfc and networking-bgpvpn

It follows their Rocky releases.

Change-Id: I1c51425b22a5eb6f4b181090f25a6a15fb0fff34
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoFix OPENSTACK_TAG (stable/rocky) 93/62293/1
Cédric Ollivier [Thu, 13 Sep 2018 20:27:39 +0000 (22:27 +0200)]
Fix OPENSTACK_TAG (stable/rocky)

It completes the previous change.

Change-Id: I3d65e15eba6a4ba812466a01cefe938002a9b177
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoFix typo 61/62261/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>
5 years agoUpdate rally to conform with cinder micro API 51/62251/2
Cédric Ollivier [Thu, 13 Sep 2018 12:47:53 +0000 (14:47 +0200)]
Update rally to conform with cinder micro API

It was applied on ollivier containers to ensure rally can verify
cinder [1].

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

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

5 years agoRemove former logic for tempest 37/62237/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>
5 years agoPrepare hunter Docker tags 31/62231/1
Cédric Ollivier [Thu, 13 Sep 2018 09:20:02 +0000 (11:20 +0200)]
Prepare hunter Docker tags

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

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

Change-Id: I731891c34e2250cc9c005bb0b2fc425f8fbeb5dc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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"

5 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>
5 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"

5 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>
5 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"

5 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>
5 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>
5 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>
5 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>
5 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>
5 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"

5 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>
5 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"

5 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"

5 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>
5 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>
5 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>
5 years agoMerge "Refactor RallyBase"
Cedric Ollivier [Mon, 3 Sep 2018 11:47:28 +0000 (11:47 +0000)]
Merge "Refactor RallyBase"

5 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>
5 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>
5 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>
5 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>
5 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>
5 years agoMerge "Optimize fetch"
Cedric Ollivier [Sun, 2 Sep 2018 09:23:55 +0000 (09:23 +0000)]
Merge "Optimize fetch"

5 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>
5 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

5 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>
5 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

5 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>
5 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>