functest.git
5 years agoMerge "Update Snaps commit id"
Cedric Ollivier [Tue, 6 Nov 2018 15:23:42 +0000 (15:23 +0000)]
Merge "Update Snaps commit id"

5 years agoUpdate Snaps commit id 91/64591/2
Cédric Ollivier [Tue, 6 Nov 2018 13:07:01 +0000 (14:07 +0100)]
Update Snaps commit id

It updates Snaps commit id to allow testing OVN [1]

It should be noted Snaps doesn't create any stable branch.
Then this patch can be cherry-picked asis in all branches.

It takes the package renaming into account.

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

Change-Id: I1dbfe9a68c8448d117b7b074cf2b4ac64b65e139
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMerge changes If9b61064,I0490eade
Cedric Ollivier [Tue, 6 Nov 2018 13:14:06 +0000 (13:14 +0000)]
Merge changes If9b61064,I0490eade

* changes:
  Increase Vmtp timeouts
  Run vnfs in all scenarios

5 years agoIncrease Vmtp timeouts 63/64563/1
Cédric Ollivier [Tue, 6 Nov 2018 09:25:08 +0000 (10:25 +0100)]
Increase Vmtp timeouts

It now conforms with other testcases booting ubuntu images.

Change-Id: If9b610646ee5dcb2eb002d74dff8e1a797a4f232
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRun vnfs in all scenarios 55/64555/1
Cédric Ollivier [Tue, 6 Nov 2018 09:19:55 +0000 (10:19 +0100)]
Run vnfs in all scenarios

It allows fair comparisons between scenarios (e.g. ovs dpdk).
os-nosdn-calipso-noha could be verified VNFs as well [1].

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

Change-Id: I0490eade81c531e38ce7156a61446a9fccaffb17
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoOverride tempest_conf.yaml in ci jobs 63/64363/1
Cédric Ollivier [Thu, 1 Nov 2018 08:52:43 +0000 (09:52 +0100)]
Override tempest_conf.yaml in ci jobs

It also removes STORAGE_PROTOCOL (env var) which was removed.

Change-Id: Ib0f388f20c52ebf2409d2aca0bcba5c641287b40
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoPrepare OPNFV functest releases 57/64257/1
Cédric Ollivier [Tue, 30 Oct 2018 19:30:14 +0000 (20:30 +0100)]
Prepare OPNFV functest releases

It sets version=9 (I-release)

Change-Id: I2e275f3b4ca08d40bea21ea09bb909aca5199b5e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRoll rally and rally-openstack 13/64113/1
Cédric Ollivier [Sat, 27 Oct 2018 09:50:18 +0000 (11:50 +0200)]
Roll rally and rally-openstack

It conforms with neutron gates (rally-task) by rolling rally* and by
selecting last stable os-faults.

[1] http://logs.openstack.org/22/613122/1/check/neutron-rally-task/61886e6/job-output.txt.gz

Change-Id: Id26f3100a0bc8b68c4b1d44115345c69053dcc5d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMove tempest logics in tempest_conf.yaml 67/64067/3
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>
5 years agoTemporarily disable Cinder volumes backup tests 53/64053/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>
5 years agoTemporarily disable VNC tests 43/64043/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>
5 years agoRevert "Temporarily switch to collivier/abot_charm" 17/64017/1
Cédric Ollivier [Thu, 25 Oct 2018 11:09:06 +0000 (13:09 +0200)]
Revert "Temporarily switch to collivier/abot_charm"

This reverts commit d2c129f8319503a8fabe5b87c71737845f06ab36.

Change-Id: Ie8e067486365cd5cc848d307f0078540eac08dcb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoTemporarily switch to collivier/abot_charm 05/64005/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>
5 years agoDisable Glance API v1 31/63931/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>
5 years agoMerge "Overprotect vmtp vs unversioned OS_AUTH_URL"
Cedric Ollivier [Tue, 23 Oct 2018 17:09:19 +0000 (17:09 +0000)]
Merge "Overprotect vmtp vs unversioned OS_AUTH_URL"

5 years agoOverprotect vmtp vs unversioned OS_AUTH_URL 13/63913/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>
5 years agoRevert "Temporarily disable test_address_scope_rbac" 95/63895/1
Cédric Ollivier [Tue, 23 Oct 2018 06:13:23 +0000 (08:13 +0200)]
Revert "Temporarily disable test_address_scope_rbac"

This reverts commit 6939526b9802539a62f71ca7759f7bd49c16aef4.

Change-Id: Ieb6644b47cc1567d5312f27e66ce250193db1f62
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoHarden Rally generate report 43/63843/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>
5 years agoTemporarily disable test_address_scope_rbac 39/63839/1
Cédric Ollivier [Sun, 21 Oct 2018 13:58:59 +0000 (15:58 +0200)]
Temporarily disable test_address_scope_rbac

It will be safely reverted when it'is fixed in patrole [1].

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

Change-Id: Ib072f833523456004b7f211ef951c4b053d82577
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoList neutron exts and service providers in connection_check 27/63827/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>
5 years agoSwitch SCAP url 33/63833/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>
5 years agoRoll Patrole and Barbican versions 11/63811/1
Cédric Ollivier [Sat, 20 Oct 2018 09:45:01 +0000 (11:45 +0200)]
Roll Patrole and Barbican versions

It conforms with the full master model.

Change-Id: Ic8de654019816db0403759aa836ee865ed18f0d2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoTemporarily disable py36 51/63751/3
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>
5 years agoRemove Functest gating 19/63719/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>
5 years agoMove LF doc files into a new dir 29/63629/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>
5 years agoFix links to remove references to submodules 47/62347/4
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>
5 years agoMerge "Ease configuring extra specs via env vars"
Cedric Ollivier [Mon, 15 Oct 2018 18:02:29 +0000 (18:02 +0000)]
Merge "Ease configuring extra specs via env vars"

5 years agoEase configuring extra specs via env vars 29/63329/8
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>
5 years agoDo not create files in site-package directory 19/63519/2
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>
5 years agoUpdate python3 to python3.6 29/63529/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>
5 years agoMerge "Fix image properties parsing"
Cedric Ollivier [Sun, 14 Oct 2018 11:26:50 +0000 (11:26 +0000)]
Merge "Fix image properties parsing"

5 years agoFix image properties parsing 95/63495/3
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>
5 years agoConform with LFN doc rules 23/62523/6
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>
5 years agoMerge "Read thirdparty-requirements.txt if py3"
Cedric Ollivier [Sat, 6 Oct 2018 11:08:23 +0000 (11:08 +0000)]
Merge "Read thirdparty-requirements.txt if py3"

5 years agoRead thirdparty-requirements.txt if py3 43/63243/2
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>
5 years agoMerge "Rename IMG_PROP to IMAGE_PROPERTIES"
Cedric Ollivier [Sat, 6 Oct 2018 07:05:21 +0000 (07:05 +0000)]
Merge "Rename IMG_PROP to IMAGE_PROPERTIES"

5 years agoRename IMG_PROP to IMAGE_PROPERTIES 25/63225/2
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>
5 years agoMerge "Use environment variable for image properties"
Cedric Ollivier [Sat, 6 Oct 2018 06:20:38 +0000 (06:20 +0000)]
Merge "Use environment variable for image properties"

5 years agoUse environment variable for image properties 13/61913/10
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>
5 years agoAdd Rally scenarios for testing floating IP 99/63099/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>
5 years agoUpdate juju agents 13/62913/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>
5 years agoUpdate Juju to 2.3.9 69/62869/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>
5 years agoProtect if default secgroup not created 61/62861/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>
5 years agoUpdate tempest_full result 47/62847/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>
5 years agoProtect vs former OS env vars 39/62839/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>
5 years agoList default secgroup via orig user 31/62831/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 21/62821/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>
5 years agoSet default_domain_id in tempest.conf 09/62809/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>
5 years agoSet admin_domain_scope to True (tempest) 93/62793/2
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>
5 years agoList all sheduler filters instead of all 91/62791/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>
5 years agoClean the default security group 67/62767/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>
5 years agoGrant new tempest user as admin in domain too 65/62765/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>
5 years agoStop creating network resources in tempest 63/62763/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>
5 years agoUpdate results in configguide (rally_jobs) 57/62757/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>
5 years agoRemove rally plugins and extra when cleaning 07/62707/2
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>
5 years agoAllow overriding default storage protocol 37/62637/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>
5 years agoSet scheduler_available_filters to all 95/62595/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>
5 years agoMerge "Modify creation of SecGroup Rule for SSH"
Cedric Ollivier [Wed, 19 Sep 2018 19:24:11 +0000 (19:24 +0000)]
Merge "Modify creation of SecGroup Rule for SSH"

5 years agoModify creation of SecGroup Rule for SSH 51/62551/4
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>
5 years agoMerge "Correct proxy configuration for VNF VM"
valentin boucher [Wed, 19 Sep 2018 14:09:03 +0000 (14:09 +0000)]
Merge "Correct proxy configuration for VNF VM"

5 years agoCorrect proxy configuration for VNF VM 39/62539/2
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>
5 years agoAdd support for Rally OpenStack CI test cases 95/61895/8
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>
5 years agoDisable test_auto_allocated_topology_rbac in patrole 69/62369/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>
5 years agoMerge "Change dir when calling stestr"
Cedric Ollivier [Fri, 14 Sep 2018 18:42:24 +0000 (18:42 +0000)]
Merge "Change dir when calling stestr"

5 years agoMerge "Update snaps commit id"
Cedric Ollivier [Fri, 14 Sep 2018 18:16:29 +0000 (18:16 +0000)]
Merge "Update snaps commit id"

5 years agoChange dir when calling stestr 29/62329/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>
5 years agoUpdate Release Notes 29/61929/4
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 snaps commit id 05/62305/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>
5 years agoUpdate get_openstack_version() 99/62299/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>
5 years agoDisable all OPNFV Features 85/62285/1
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>
5 years agoUpdate Patrole to 0.4.0 81/62281/1
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>
5 years agoSwitch to networking-* master 79/62279/4
Cédric Ollivier [Thu, 13 Sep 2018 19:10:02 +0000 (21:10 +0200)]
Switch to networking-* master

Change-Id: Iee875b514c27e6f8b95517cf6cf2c4325fb3acba
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoFix typo 65/62265/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 49/62249/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>
5 years agoUpdate constraints to OpenStack master 33/62233/1
Cédric Ollivier [Thu, 13 Sep 2018 09:34:41 +0000 (11:34 +0200)]
Update constraints to OpenStack master

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

Change-Id: I98eb95664569d392af266b22c054f7a2121c98db
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>