functest.git
5 years agoRemove useless vyos_vrouter output dir 09/67109/2
Cédric Ollivier [Mon, 25 Feb 2019 18:39:08 +0000 (19:39 +0100)]
Remove useless vyos_vrouter output dir

It doesn't store any file.

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

5 years agoUpdate VyOS to 1.1.8 00/67100/1
Cédric Ollivier [Sun, 24 Feb 2019 19:30:55 +0000 (20:30 +0100)]
Update VyOS to 1.1.8

It's worth mentionning that the filesystem is hugely reduced.

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

5 years agoEase copying/pasting the private keys from logs 95/67095/1
Cédric Ollivier [Sun, 24 Feb 2019 09:58:40 +0000 (10:58 +0100)]
Ease copying/pasting the private keys from logs

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

5 years agoReduce Cloudify Ims resources 94/67094/1
Cédric Ollivier [Sat, 23 Feb 2019 22:15:35 +0000 (23:15 +0100)]
Reduce Cloudify Ims resources

It eases testing with less resources.

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

5 years agoStop downloading Cloudify container 89/67089/1
Cédric Ollivier [Sat, 23 Feb 2019 08:49:58 +0000 (09:49 +0100)]
Stop downloading Cloudify container

It selects the Docker image archive as proposed by Cloudify.

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

5 years agoEnrich Rally results output 58/67058/1
Stamatis Katsaounis [Thu, 14 Feb 2019 20:39:36 +0000 (22:39 +0200)]
Enrich Rally results output

This patch adds success/failure information of rally test cases to
summary output.

Change-Id: Ie4f9b4972a26e187bb7afdddfd5ce51b16f3db12
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
(cherry picked from commit 13777d607dd219ace0157e560ff11c3cd6f1aad0)

5 years agoOnly run bgpvpn tempest api tests 56/67056/1
Cédric Ollivier [Mon, 18 Feb 2019 11:22:29 +0000 (12:22 +0100)]
Only run bgpvpn tempest api tests

It conforms with SFC regex and fits OPNFV criteria.
Running scenarios may force the use of bagpipe [1].

The SUT (functest-virtual) is being updated to verify SFC and BGPVPN
apis.

[1] https://docs.openstack.org/networking-bgpvpn/latest/user/drivers/bagpipe/index.html

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

5 years agoHarden upper-constraints.txt operations 40/67040/5
Cédric Ollivier [Fri, 15 Feb 2019 10:08:20 +0000 (11:08 +0100)]
Harden upper-constraints.txt operations

It takes into account the wget exit values and avoids manipulating a
falsy empty file.

It won't help fixing the network outages in LF network which have been
highlighted by false failures in api_check (the wrong snaps package
is installed [1])

[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-latest-api_check-run/100/console

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

5 years agoGenerate xunit reports (rally and tempest) 41/67041/2
Cédric Ollivier [Thu, 14 Feb 2019 21:21:53 +0000 (22:21 +0100)]
Generate xunit reports (rally and tempest)

It adds xunit reports for rally-based and tempest-based testcases.
It completes the reports provided by snaps (thanks to Xtesting).

All rally related operations are moved to rally.
It allows removing the rally dependency to tempest which was false.

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

5 years agoUpdate rally to support one global html 42/67042/3
Cédric Ollivier [Fri, 15 Feb 2019 15:19:46 +0000 (16:19 +0100)]
Update rally to support one global html

It isn't supported by Rally initally selected in Functest Hunter [1].

[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-hunter-rally_sanity-run/15/console

Change-Id: I3182e73db580fc32959339c13b3b725283535b29
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoStop building components in travis-ci 38/67038/2
Cédric Ollivier [Fri, 15 Feb 2019 14:23:27 +0000 (15:23 +0100)]
Stop building components in travis-ci

It was removed by "Move rally_full in benchmarking" [1]

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

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

5 years agoSpecify which rally tests to run 23/67023/1
Stamatis Katsaounis [Fri, 8 Feb 2019 16:56:16 +0000 (18:56 +0200)]
Specify which rally tests to run

This patch adds the ability to specify which rally test to run by
setting the appropriate configuration value.

Change-Id: I6cbc9d12aada4f8eab68d2219d94ae1391a79021
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
(cherry picked from commit d0cb38d7ad5046700564f2700df9b8c92706b32c)

5 years agoPublish tempest details into database 17/67017/1
Cédric Ollivier [Wed, 13 Feb 2019 20:23:28 +0000 (21:23 +0100)]
Publish tempest details into database

It switches from tempest.log to rally.log to conform with rally/stestr.

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

5 years agoFix smoke testcase list 07/67007/1
Cédric Ollivier [Wed, 13 Feb 2019 12:56:02 +0000 (13:56 +0100)]
Fix smoke testcase list

Rally_jobs were moved into benchmarking.
It completes "Move testcases in the right tiers" [1]

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

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

5 years agoGenerate one single report for Rally testcases 99/66999/1
Cédric Ollivier [Sat, 9 Feb 2019 10:32:26 +0000 (11:32 +0100)]
Generate one single report for Rally testcases

It eases sharing one single report including all task results.
For the time being, rally_jobs only generates neutron.html.
Then it only adds one report for rally_full and rally_sanity.

We may consider generating only one json file but it asks for
a refactoring (result parsing) which can be done in a second
change.

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

5 years agoIncrease timeout to reach vnf API 97/66997/1
Cédric Ollivier [Tue, 12 Feb 2019 20:52:59 +0000 (21:52 +0100)]
Increase timeout to reach vnf API

It increases the timeout in cloudify-based and clearwater-based
testcases to allow running them in parallel (functest-virtual) [1].

[1] https://build.opnfv.org/ci/job/functest-latest-gate/54/

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

5 years agoSet gnocchi as optional in Rally testcases 87/66987/1
Cédric Ollivier [Tue, 12 Feb 2019 13:31:41 +0000 (14:31 +0100)]
Set gnocchi as optional in Rally testcases

ci/testcases.yaml was copied/pasted when moving the rally testcases.
It completes "Set Gnocchi scenario as optional in rally tests" [1].

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

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

5 years agoUpdate ansible/site.yml (rally_full) 77/66977/1
Cédric Ollivier [Mon, 11 Feb 2019 18:39:16 +0000 (19:39 +0100)]
Update ansible/site.yml (rally_full)

It conforms with "Move rally_full in benchmarking" [1]

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

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

5 years agoMove rally_full in benchmarking 75/66975/1
Cédric Ollivier [Mon, 11 Feb 2019 07:54:06 +0000 (08:54 +0100)]
Move rally_full in benchmarking

It allows merging all benchmarking testcases in one tiers and saves
lots of time as they could all run in parallel.

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

5 years agoRemove go cache dir 71/66971/1
Cédric Ollivier [Tue, 12 Feb 2019 09:07:17 +0000 (10:07 +0100)]
Remove go cache dir

It saves about 290M.

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

5 years agoSelect last git commit id from vyos blueprint 65/66965/1
Cédric Ollivier [Tue, 12 Feb 2019 08:27:55 +0000 (09:27 +0100)]
Select last git commit id from vyos blueprint

The pull request #4 fixing the blueprint [1] was merged [1].

[1] https://github.com/oolorg/opnfv-vnf-vyos-blueprint/commit/9b76d46a388d32d4985797620e67c2ed3315b3e4
[2] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-hunter-gate/4/console

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

5 years agoUpdate and enable Cloudify-based testcases 31/66931/1
Cédric Ollivier [Mon, 11 Feb 2019 05:45:34 +0000 (06:45 +0100)]
Update and enable Cloudify-based testcases

It switches from the Cloudify virtual machine to the community
container which allows deploying vyos_vrouter and cloudify_ims.

Last stable Cloudify OpenStack plugin (2.4.17) is now deployed.
It also updates the Cloudify python package to latest release.

It adds a delay before deleting the blueprint which may be
improved in a second change (it allows enabling the testcase in
the stable release).

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

5 years agoIncrease juju_epc timeout 29/66929/1
Cédric Ollivier [Sat, 9 Feb 2019 16:14:15 +0000 (17:14 +0100)]
Increase juju_epc timeout

It fails 4 times in functest-virtual (out of 34) due to a possible slow
bandwidth (e.g. [1]).

[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-latest-juju_epc-run/24/console

Change-Id: Ie1aa69464f8dd0fa1a15900e7d49576368187a44
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRemove tempest_smoke from smoke 27/66927/1
Cédric Ollivier [Mon, 11 Feb 2019 10:41:14 +0000 (11:41 +0100)]
Remove tempest_smoke from smoke

It completes "Move testcases in the right tiers" [1]

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

Change-Id: Ic2e6ebf9371de87caafbfdb54029a24440e6fd5b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMove testcases in the right tiers 75/66875/1
Cédric Ollivier [Wed, 6 Feb 2019 06:48:36 +0000 (07:48 +0100)]
Move testcases in the right tiers

Here are the moves:
  - tempest_smoke in healthcheck
  - tempest_full and tempest_scenario in smoke
  - rally_jobs in benchmarking

It avoids conflicts between benchmarking tools and few functional
tests (short timeouts).

Then it should allow running in parallel all testcases in one tiers.
It also allows cleaning the additional steps defined in releng.

rally_full could move in benchmarking in a second step.

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

5 years agoUpdate Cloudify images 41/66841/1
Cédric Ollivier [Sat, 2 Feb 2019 18:39:43 +0000 (19:39 +0100)]
Update Cloudify images

The former image can't be downloaded and then breaks all gates.
It will be completed by changes in vnf if needed.

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

5 years agoOverride tempest upper-contraints 25/66825/1
Cédric Ollivier [Fri, 1 Feb 2019 23:59:02 +0000 (00:59 +0100)]
Override tempest upper-contraints

Change-Id: Ieadf7ec3d1b05eefa6634db5f3d0ea264e9994af
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate tempest to fix interfaces_by_fixed_ip 03/66803/1
Cédric Ollivier [Thu, 31 Jan 2019 16:39:33 +0000 (17:39 +0100)]
Update tempest to fix interfaces_by_fixed_ip

It includes [1] which allows testing even if one shared network is
defined.

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

Change-Id: I8bd72ad351a3702e9f72014a1ae43542e5d8e927
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRemove CreateInstanceVolumeTests (snaps_smoke) 53/66753/1
Cédric Ollivier [Mon, 28 Jan 2019 22:56:29 +0000 (23:56 +0100)]
Remove CreateInstanceVolumeTests (snaps_smoke)

The volume and the virtual machine created are not deleted.

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

5 years agoDecrease volume_size in all Rally tests 47/66747/1
Cédric Ollivier [Mon, 28 Jan 2019 19:37:29 +0000 (20:37 +0100)]
Decrease volume_size in all Rally tests

Devstack allocates a 24G disk image by default [1].
It can be easily reached by setting volume size to 5G or 10G.

[1] https://github.com/openstack-dev/devstack/blob/master/stackrc#L779

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

5 years agoAllow running latest tempest_full 27/66727/1
Cédric Ollivier [Sun, 27 Jan 2019 22:27:28 +0000 (23:27 +0100)]
Allow running latest tempest_full

It allows running test_user_update_own_password [1]

[1] http://artifacts.opnfv.org/functest/functest-opnfv-functest-components-latest-tempest_full-run-8/results/tempest_full/tempest-report.html

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

5 years agoWait for apps being active (juju_epc) 21/66721/1
Cédric Ollivier [Mon, 28 Jan 2019 15:56:57 +0000 (16:56 +0100)]
Wait for apps being active (juju_epc)

It seems that juju-wait doesn't wait for all apps.
Juju_epc passes in functest-virtual thanks to that additional tries.

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

5 years agoClean project/user if snaps tests are skipped 01/66701/1
Cédric Ollivier [Mon, 28 Jan 2019 14:13:21 +0000 (15:13 +0100)]
Clean project/user if snaps tests are skipped

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

5 years agoMerge "Stop using urljoin when adding v3" into stable/hunter
Cedric Ollivier [Sun, 27 Jan 2019 10:45:41 +0000 (10:45 +0000)]
Merge "Stop using urljoin when adding v3" into stable/hunter

5 years agoMerge "Set Gnocchi scenario as optional in rally tests" into stable/hunter
Cedric Ollivier [Sun, 27 Jan 2019 10:45:35 +0000 (10:45 +0000)]
Merge "Set Gnocchi scenario as optional in rally tests" into stable/hunter

5 years agoRemove Snaps NeutronUtilsFloatingIpTests 69/66669/2
Cédric Ollivier [Sat, 26 Jan 2019 23:24:27 +0000 (00:24 +0100)]
Remove Snaps NeutronUtilsFloatingIpTests

It has been fixed in Snaps [1] but we can't sync its requiremets [2].
Then we have to remove the test.

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

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

5 years agoStop using urljoin when adding v3 63/66663/2
Cédric Ollivier [Sat, 26 Jan 2019 23:06:32 +0000 (00:06 +0100)]
Stop using urljoin when adding v3

urljoin works here only if url ends by /.
It replaces identity by v3 when running vs devstack.

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

5 years agoSet Gnocchi scenario as optional in rally tests 71/66671/1
Juha Kosonen [Sat, 26 Jan 2019 10:53:26 +0000 (12:53 +0200)]
Set Gnocchi scenario as optional in rally tests

The execution of an optional scenario is skipped if the corresponding
openstack service does not exist.

Change-Id: I8721f26ebc253ce02138b85d6c88e659c5afae80
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit 3b7b393ca643bcf7db0361bcc4414b74fff953be)

5 years agoRemove test_get_endpoint_with_each_interface 57/66657/1
Cédric Ollivier [Sat, 26 Jan 2019 22:36:10 +0000 (23:36 +0100)]
Remove test_get_endpoint_with_each_interface

It checks all 3 endpoints for image but nothing forces to define them.
Here is the only endpoint created by devstack.

glance      | image          | RegionOne
            |                |   public: http://192.168.1.10/image

[1] keystoneauth1.exceptions.catalog.EndpointNotFound: internal endpoint for image service in RegionOne region not found

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

5 years agoSlightly improve heat_ims 31/66531/1
Cédric Ollivier [Sun, 20 Jan 2019 13:39:45 +0000 (14:39 +0100)]
Slightly improve heat_ims

It increases timeouts which could be reached if shared bandwidth
(functest-virtual [1]).

[1] http://artifacts.opnfv.org/functest/functest-opnfv-functest-vnf-latest-heat_ims-run-4/results/functest.log

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

5 years agoForce the right external network if juju 23/66523/1
Cédric Ollivier [Sun, 20 Jan 2019 10:10:04 +0000 (11:10 +0100)]
Force the right external network if juju

It may select a falsy external network [1].

[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-latest-juju_epc-run/4/console

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

5 years agoFix one typo in docstring (tempest.py) 17/66517/1
Cédric Ollivier [Sun, 20 Jan 2019 09:32:03 +0000 (10:32 +0100)]
Fix one typo in docstring (tempest.py)

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

5 years agoTake control over Rally logics 09/66509/1
Cédric Ollivier [Sat, 19 Jan 2019 19:59:08 +0000 (20:59 +0100)]
Take control over Rally logics

Rally selects the first external network [1] which could raise side
effects if:
 - another testcase is creating a dummy external network in //
 - all external subnets are not reachable from jumphost
It's now overriden by EXTERNAL_NETWORK as defined in Functest

Rally creates a new shared network if one already exists [2].
As juju now allows other shared networks, it can be safely created by
Functest to allow only one logic and to handle provider networks,
different name servers, etc...

[1] https://github.com/openstack/rally-openstack/blob/master/rally_openstack/verification/tempest/config.py#L146
[2] https://github.com/openstack/rally-openstack/blob/master/rally_openstack/verification/tempest/context.py#L85

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

5 years agoMove logics out of TempestCommon.__init__() 07/66507/1
Cédric Ollivier [Sat, 19 Jan 2019 15:19:25 +0000 (16:19 +0100)]
Move logics out of TempestCommon.__init__()

It conforms with best programming practices.
It allows muting console and increasing log level (debug).

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

5 years agoRemove former ci jobs 75/66375/2
Cédric Ollivier [Mon, 14 Jan 2019 17:50:35 +0000 (18:50 +0100)]
Remove former ci jobs

They can now be generated via the new ansible role.

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

5 years agoRemove fds in all branches 71/66371/1
Cédric Ollivier [Tue, 9 Oct 2018 07:45:32 +0000 (09:45 +0200)]
Remove fds in all branches

FDS didn't participate to Gambia.
Removing it in all branches avoids compexifying the jjbs.

This patch will be reverted as soon as the support is ready.

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

5 years agoCheck if key exists instead of leveraging on update_if_exists 67/66267/2
Cédric Ollivier [Mon, 7 Jan 2019 12:28:45 +0000 (13:28 +0100)]
Check if key exists instead of leveraging on update_if_exists

It seems falsy (see line 72)

2019-01-07 11:50:32,550 - functest.core.cloudify - DEBUG - try 9: Cloudify Manager isn't up and running
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/functest/core/cloudify.py", line 72, in execute
    "foo", "bar", update_if_exists=True)
  File "/usr/lib/python2.7/site-packages/cloudify_rest_client/secrets.py", line 86, in create
    response = self.api.put('/secrets/{0}'.format(key), data=data)
  File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 263, in put
    timeout=timeout)
  File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 224, in do_request
    verify=self.get_request_verify(), timeout=timeout)
  File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 158, in _do_request
    self._raise_client_error(response, request_url)
  File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 119, in _raise_client_error
    response=response)
  File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 131, in _prepare_and_raise_exception
    status_code, error_code=error_code, response=response)
CloudifyClientError: 409: <Secret id=`foo` tenant=`default_tenant`> already exists on <Tenant name=`default_tenant`>

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

5 years agoPrint traceback as debug during cloudify tries 65/66265/1
Cédric Ollivier [Mon, 7 Jan 2019 11:41:21 +0000 (12:41 +0100)]
Print traceback as debug during cloudify tries

The traceback is printed as debug to avoid priting the first
unsuccessful tries in console. It will ease debugging issues as for [1]

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

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

5 years agoPrevent from CloudifyClientError (key already exists) 55/66255/1
Cédric Ollivier [Mon, 7 Jan 2019 11:15:24 +0000 (12:15 +0100)]
Prevent from CloudifyClientError (key already exists)

It has rarely occured in Orange Openlab [1].

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/functest/core/cloudify.py", line 70, in execute
    self.cfy_client.secrets.create("foo", "bar")
  File "/usr/lib/python2.7/site-packages/cloudify_rest_client/secrets.py", line 86, in create
    response = self.api.put('/secrets/{0}'.format(key), data=data)
  File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 263, in put
    timeout=timeout)
  File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 224, in do_request
    verify=self.get_request_verify(), timeout=timeout)
  File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 158, in _do_request
    self._raise_client_error(response, request_url)
  File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 119, in _raise_client_error
    response=response)
  File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 131, in _prepare_and_raise_exception
    status_code, error_code=error_code, response=response)
CloudifyClientError: 409: <Secret id=`foo` tenant=`default_tenant`> already exists on <Tenant name=`default_tenant`>

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

5 years agoMerge "Publish "Functest on steroids" (Plugfest-Gambia)" into stable/hunter
Cedric Ollivier [Mon, 7 Jan 2019 07:52:45 +0000 (07:52 +0000)]
Merge "Publish "Functest on steroids" (Plugfest-Gambia)" into stable/hunter

5 years agoSwitch from port to dport in site.yml 43/66243/1
Cédric Ollivier [Sun, 6 Jan 2019 22:00:32 +0000 (23:00 +0100)]
Switch from port to dport in site.yml

port is reserved in ansible

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

5 years agoPublish "Functest on steroids" (Plugfest-Gambia) 39/66239/2
Cédric Ollivier [Sun, 6 Jan 2019 10:28:52 +0000 (11:28 +0100)]
Publish "Functest on steroids" (Plugfest-Gambia)

It will be completed by demos:
  - deploy your own Functest CI/CD toolchains (Functest bot)
  - deploy your own CI/CD toolchains for your test case
  - run Functest on Raspberry PI

The presentation is avalaible in [1]

[1] http://testresults.opnfv.org/functest/gambia/

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

5 years agoUpdate reveal.js to 3.7.0 29/66229/1
Cédric Ollivier [Sat, 5 Jan 2019 19:30:50 +0000 (20:30 +0100)]
Update reveal.js to 3.7.0

Change-Id: I198c757a7bda86c2d87d746aa3d1846be395c987
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoConform with new tag configs 17/66217/1
Cédric Ollivier [Sat, 5 Jan 2019 11:57:55 +0000 (12:57 +0100)]
Conform with new tag configs

It allows generating gate jobs.

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

5 years agoDisable nose html output plugin 91/66091/2
Cédric Ollivier [Thu, 27 Dec 2018 17:10:29 +0000 (18:10 +0100)]
Disable nose html output plugin

It doesn't run vs py36.

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

5 years agoUpdate Xtesting to 0.61 77/66077/3
Cédric Ollivier [Thu, 27 Dec 2018 15:18:51 +0000 (16:18 +0100)]
Update Xtesting to 0.61

It now generates html reports for unit tests (snaps).

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

5 years agoFix nits in ansible/site.yaml 67/65967/1
Cédric Ollivier [Wed, 19 Dec 2018 06:54:32 +0000 (07:54 +0100)]
Fix nits in ansible/site.yaml

Change-Id: Iab87d6b3d8acd07c400ce800e76a4dd82ab7b7d5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoVerify Ansible playbooks via ansible-lint 57/65957/1
Cédric Ollivier [Tue, 18 Dec 2018 20:30:53 +0000 (21:30 +0100)]
Verify Ansible playbooks via ansible-lint

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

5 years agoAllow pulling Neutron reviews or tags 49/65949/1
Cédric Ollivier [Tue, 18 Dec 2018 14:59:23 +0000 (15:59 +0100)]
Allow pulling Neutron reviews or tags

It updates smoke/Dockerfile to allow pulling Neutron reviews/tags
(rally_jobs).

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

5 years agoDeploy Functest CI toolchains 33/65933/1
Cédric Ollivier [Tue, 11 Dec 2018 06:00:21 +0000 (07:00 +0100)]
Deploy Functest CI toolchains

It eases verifying OpenStack by deploying the full testing toolchain
via Ansible. As opposed to the Releng model, all tests can be executed
in parallel.

It leverages on Xtesting Ansible role which currently deploys
Jenkins, Minio and S3www and loads all jobs in Jenkins.
Last components (MongoDB, TestAPI and dashboard) will be deployed in
the next update of the ansible role.

To deploy the testing toolchain:
$ ansible-galaxy install collivier.xtesting
$ ansible-playbook ansible/site.yml

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

5 years agoFix NEUTRON_RALLY_TAG in smoke 95/65895/1
Cédric Ollivier [Sun, 16 Dec 2018 08:32:41 +0000 (09:32 +0100)]
Fix NEUTRON_RALLY_TAG in smoke

Change-Id: I4f6fbbef814a5b45aeb3b6152878421fc6e998bc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRemove duplicated code in vnfs 27/65627/1
Cédric Ollivier [Thu, 6 Dec 2018 19:32:11 +0000 (20:32 +0100)]
Remove duplicated code in vnfs

It mainly leverages on functest_utils instead of duplicating.

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

5 years agoRemove Snaps NovaUtilsInstanceVolumeTests 21/65521/1
Cédric Ollivier [Sat, 1 Dec 2018 12:34:23 +0000 (13:34 +0100)]
Remove Snaps NovaUtilsInstanceVolumeTests

It doesn't clean its resources and then breaks the gate after multiple
runs. It's the only way as Snaps is inactive and pinned in Functest.

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

5 years agoFix an invalid class name (vGPU) 47/65347/3
Cédric Ollivier [Thu, 22 Nov 2018 06:29:28 +0000 (07:29 +0100)]
Fix an invalid class name (vGPU)

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

5 years agoStop cleaning role 53/65353/2
Cédric Ollivier [Fri, 23 Nov 2018 08:38:34 +0000 (09:38 +0100)]
Stop cleaning role

Functest may create default role if member doesn't exist.
It cannot be removed at the end of the testcase as it raises side
effects when testing in parallel.

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

5 years agoRename Rally blacklist.txt to blacklist.yaml 83/65183/1
Cédric Ollivier [Sat, 17 Nov 2018 07:46:02 +0000 (08:46 +0100)]
Rename Rally blacklist.txt to blacklist.yaml

It eases editing it or verifyfing it via yamllint.

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

5 years agoFix cherry-pick mistakes 67/65167/1
Cédric Ollivier [Fri, 16 Nov 2018 10:48:16 +0000 (11:48 +0100)]
Fix cherry-pick mistakes

Change-Id: I891a8bb9f1440688dd17bda750d6e9fca17eb7a6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoSwitch to Clearwater Zamin (heat_ims) 53/65153/1
Cédric Ollivier [Wed, 14 Nov 2018 14:56:15 +0000 (15:56 +0100)]
Switch to Clearwater Zamin (heat_ims)

Zamin is declared as the first "stable" release.
Cloudify descriptor is not ready for the update.

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

5 years agoProtect vs build-args not consumed 09/65109/1
Cédric Ollivier [Wed, 14 Nov 2018 09:52:38 +0000 (10:52 +0100)]
Protect vs build-args not consumed

BRANCH is useless in case of components which only inherits from tempest.
The build could simply fail depending on the docker version [1].

[1] https://build.opnfv.org/ci/job/opnfv-functest-components-latest-build/1/console

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

5 years agoAdd anchors in ci yaml files 93/65093/2
Cédric Ollivier [Tue, 13 Nov 2018 21:35:37 +0000 (22:35 +0100)]
Add anchors in ci yaml files

It eases foctorizing between releng (1 multijob only) and functest
jjbs.

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

5 years agoCheck if at least 2 hypervisors (Shaker) 07/65007/1
Cédric Ollivier [Sun, 11 Nov 2018 14:35:12 +0000 (15:35 +0100)]
Check if at least 2 hypervisors (Shaker)

Shaker is now skipped if only one hypervisor.

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

5 years agoCheck if at least 1 hypervisors 93/64993/1
Cédric Ollivier [Sat, 10 Nov 2018 20:54:05 +0000 (21:54 +0100)]
Check if at least 1 hypervisors

Vmtp is skipped if only one hypervisor.

As Vtmp returns 0 when all is skipped, it protects vs issues when
generating charts.

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

5 years agoMerge "Disable agent testing in tempest-based testcases" into stable/hunter
Cedric Ollivier [Wed, 7 Nov 2018 10:14:01 +0000 (10:14 +0000)]
Merge "Disable agent testing in tempest-based testcases" into stable/hunter

5 years agoRemove snaps ansible test cases 51/64651/1
Cédric Ollivier [Wed, 7 Nov 2018 08:49:40 +0000 (09:49 +0100)]
Remove snaps ansible test cases

They can't work vs all OPFV scenarios (MTU doesn't conform with Geneve)
and are deprecated. Updating snaps commit id [1] breaks all gates
closed to Gambia release.

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

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

5 years agoRevert "Update Snaps commit id" 45/64645/1
Cédric Ollivier [Wed, 7 Nov 2018 08:46:25 +0000 (09:46 +0100)]
Revert "Update Snaps commit id"

This reverts commit 68980ac76c433b1445e863bdedf3d0823bb66d63.

Change-Id: I842271e7be13a9e74fe38ae83d7fef03e8ba530c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoDisable agent testing in tempest-based testcases 15/64615/1
Cédric Ollivier [Tue, 6 Nov 2018 18:44:34 +0000 (19:44 +0100)]
Disable agent testing in tempest-based testcases

It blacklists agent testing and two tests asking for VXLAN as overlay
if OVN (OVN supports GENEVE) [1]

blacklist.txt is renamed blacklist.yaml and is verified by yamllint.

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

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

5 years agoUpdate Snaps commit id 93/64593/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>
(cherry picked from commit 1c2663063db356cebd1d156abf89d47a15b4eb1e)

5 years agoMerge changes If9b61064,I0490eade into stable/hunter
Cedric Ollivier [Tue, 6 Nov 2018 13:14:11 +0000 (13:14 +0000)]
Merge changes If9b61064,I0490eade into stable/hunter

* changes:
  Increase Vmtp timeouts
  Run vnfs in all scenarios

5 years agoIncrease Vmtp timeouts 67/64567/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>
(cherry picked from commit 023a4c7d0cb85d3b624ee946097e721880169371)

5 years agoRun vnfs in all scenarios 57/64557/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>
(cherry picked from commit 61b708cc0987bf48d07df9d46ed25e4b42c15efc)

5 years agoOverride tempest_conf.yaml in ci jobs 65/64365/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>
(cherry picked from commit e715a8309122c3fa3b4983cfa53c82519dd6ead7)

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)