functest.git
6 years agoFix Functest User Guide 37/54937/1
Cédric Ollivier [Wed, 4 Apr 2018 03:31:23 +0000 (05:31 +0200)]
Fix Functest User Guide

It allows building this documentation via tox.
rst files are now checked via doc8.

Intro is moved into a new file.

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

6 years agoFix Functest Config Guide 35/54935/1
Cédric Ollivier [Tue, 3 Apr 2018 18:29:37 +0000 (20:29 +0200)]
Fix Functest Config Guide

It allows building this documentation via tox.
rst files are now checked via doc8.

Intro is moved into a new file.

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

6 years agoFix Functest Release Notes 33/54933/1
Cédric Ollivier [Tue, 3 Apr 2018 04:47:10 +0000 (06:47 +0200)]
Fix Functest Release Notes

It allows building this documentation via tox.
rst files are now checked via doc8.

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

6 years agoRemove NetVirt from installer dependencies 03/54703/7
Cédric Ollivier [Mon, 2 Apr 2018 02:54:07 +0000 (04:54 +0200)]
Remove NetVirt from installer dependencies

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

6 years agoRemove opnfv/functest-restapi 07/54707/5
Cédric Ollivier [Fri, 30 Mar 2018 20:21:37 +0000 (22:21 +0200)]
Remove opnfv/functest-restapi

REST api server should run on top of all Functest containers by
overriding the default command.

We can safely remove it and meet the Docker Slicing approach.

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

6 years agoUpdate Dockerfiles and constraints to Fraser 05/54705/5
Cédric Ollivier [Mon, 2 Apr 2018 02:19:37 +0000 (04:19 +0200)]
Update Dockerfiles and constraints to Fraser

Only thirparties which have already created stable/fraser have been
updated.

Change-Id: Ic84faf65445f47a68c71480032cff8c20e090456
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate Gambia Challenges presentation 49/54449/1
Cédric Ollivier [Sun, 25 Mar 2018 16:18:26 +0000 (18:18 +0200)]
Update Gambia Challenges presentation

It will be interesting to verify installers via
opnfv/functest-components too.

Change-Id: Ib5da2e35bce5f8a7013ad42b82b2f0e416129863
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd "Gambia Challenges" presentation 27/54427/1
Cédric Ollivier [Sat, 24 Mar 2018 16:17:16 +0000 (17:17 +0100)]
Add "Gambia Challenges" presentation

Change-Id: I16350b90f8bd8c5db7cad4aa28704b9bc908996c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Add Stor4NFV in upper-constraints.txt"
valentin boucher [Tue, 20 Mar 2018 12:11:26 +0000 (12:11 +0000)]
Merge "Add Stor4NFV in upper-constraints.txt"

6 years agoMerge "Implement trunk ports - Documentation part"
Cedric Ollivier [Tue, 20 Mar 2018 10:47:48 +0000 (10:47 +0000)]
Merge "Implement trunk ports - Documentation part"

6 years agoAdd Stor4NFV in upper-constraints.txt 57/53957/3
Qiaowei Ren [Fri, 16 Mar 2018 07:43:59 +0000 (15:43 +0800)]
Add Stor4NFV in upper-constraints.txt

This centralized file is reused by functest-kubernetes.

Change-Id: Id0d9d4bb4be4368ee8181f73e8c5626414d6291d
Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
6 years agoStop redirecting dnsmasq messages 87/54187/1
Cédric Ollivier [Tue, 20 Mar 2018 10:25:30 +0000 (11:25 +0100)]
Stop redirecting dnsmasq messages

Else dnsmasq is defunct: "dnsmasq: junk found in command line".

It partially reverts "Mute log in vnfs" [1] from the time being to
allow gating.

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

Change-Id: I660904b9e542f776f554562df2808db751cb9d2e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoImplement trunk ports - Documentation part 07/54107/3
Panagiotis Karalis [Mon, 19 Mar 2018 13:05:03 +0000 (15:05 +0200)]
Implement trunk ports - Documentation part

The tempest testcases have been integrated from Neutron trunk testcases.
The relevant documentation has been updated.

JIRA: FUNCTEST-926

Change-Id: I56cbd0ebb211a283e4e11df28ad6d1520d18e25a
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
6 years agoMerge "Put TestResults.json in the right dir"
Linda Wang [Tue, 20 Mar 2018 08:38:58 +0000 (08:38 +0000)]
Merge "Put TestResults.json in the right dir"

6 years agoMerge "Fix apidoc builds"
Linda Wang [Tue, 20 Mar 2018 08:38:13 +0000 (08:38 +0000)]
Merge "Fix apidoc builds"

6 years agoMerge "Remove unused code in vyos_vrouter"
Linda Wang [Tue, 20 Mar 2018 08:21:45 +0000 (08:21 +0000)]
Merge "Remove unused code in vyos_vrouter"

6 years agoMerge "Update the details of tempest results"
Cedric Ollivier [Tue, 20 Mar 2018 07:16:48 +0000 (07:16 +0000)]
Merge "Update the details of tempest results"

6 years agoUpdate the details of tempest results 79/54079/2
Linda Wang [Mon, 19 Mar 2018 07:40:11 +0000 (07:40 +0000)]
Update the details of tempest results

Change-Id: Idb18c7784e44030a48208ea64c21cde2536a3387
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoPut TestResults.json in the right dir 37/54137/2
Cédric Ollivier [Mon, 19 Mar 2018 21:35:10 +0000 (22:35 +0100)]
Put TestResults.json in the right dir

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

Change-Id: Icfdc0030d517b1885a94c2815aeb35257fdfd590
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix apidoc builds 35/54135/4
Cédric Ollivier [Mon, 19 Mar 2018 20:36:49 +0000 (21:36 +0100)]
Fix apidoc builds

Change-Id: Id5846d0c66a52fa72b6cd32333f18c485877aa8f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove unused code in vyos_vrouter 31/54131/2
Cédric Ollivier [Mon, 19 Mar 2018 17:39:17 +0000 (18:39 +0100)]
Remove unused code in vyos_vrouter

Change-Id: I0fcfa886bfb5133d5e4b3face1e649e4cf8b9fc0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoConform with vyos descritor updates 27/54127/1
Cédric Ollivier [Mon, 19 Mar 2018 16:56:42 +0000 (17:56 +0100)]
Conform with vyos descritor updates

The new inputs [1] must be set else the testcase simply fails [2].

JIRA: FUNCTEST-936

[1] https://github.com/oolorg/opnfv-vnf-vyos-blueprint/commit/794f8a0594ed4c461c7d1d08d6b0ef9fb12004e2
[2] https://build.opnfv.org/ci/view/functest/job/functest-daisy-baremetal-daily-master/12/console

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

6 years agoUpdate xtesting to 0.31 91/54091/2
Cédric Ollivier [Mon, 19 Mar 2018 09:29:57 +0000 (10:29 +0100)]
Update xtesting to 0.31

It mainly fixes regex when INSTALLER_TYPE is unset [1]

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

Change-Id: I57430e87ec7b988337697417e319cf4f9b207e0d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAllow exceptions when deleting a missing verifier 45/54045/1
Cédric Ollivier [Sun, 18 Mar 2018 09:32:38 +0000 (10:32 +0100)]
Allow exceptions when deleting a missing verifier

Change-Id: I2e48bdcf9bce872a4a7855f9f6cd05d2b4897244
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMute log in vnfs 43/54043/1
Cédric Ollivier [Sat, 17 Mar 2018 22:28:34 +0000 (23:28 +0100)]
Mute log in vnfs

It also configures the nameserver when creating the subnet in
juju_epc.

Change-Id: I163ba99cd56f44ca3c3464398e182152b3ab74dd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRefactor refstack to limit instructions 41/54041/2
Cédric Ollivier [Sat, 17 Mar 2018 20:45:41 +0000 (21:45 +0100)]
Refactor refstack to limit instructions

Change-Id: I3cd490d18898d0ee6f48e4c19d7ed65c0cf0c275
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMute all rally messages 39/54039/2
Cédric Ollivier [Sat, 17 Mar 2018 20:44:44 +0000 (21:44 +0100)]
Mute all rally messages

The are now printed in functest.log only.

JIRA: FUNCTEST-950

Change-Id: I1fdd0e0f1be19fc5e7536326acb6a66645610696
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoDecrease log levels when trying to connect 37/54037/1
Cédric Ollivier [Sat, 17 Mar 2018 13:25:15 +0000 (14:25 +0100)]
Decrease log levels when trying to connect

Only the last attempt should be printed in console.

Change-Id: Ic1ed5887195c98c64ade4558ac20ebd814e38bab
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoPrecise tempest regex 29/54029/1
Cédric Ollivier [Fri, 16 Mar 2018 22:26:24 +0000 (23:26 +0100)]
Precise tempest regex

It stops running neutron tests which matched the former regex.

Change-Id: Ica5a0d1f4858d01533156c98da87f9ed4662489f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRefactor Patrole to limit instructions 25/54025/1
Cédric Ollivier [Fri, 16 Mar 2018 21:39:56 +0000 (22:39 +0100)]
Refactor Patrole to limit instructions

Change-Id: Ie0ab079b1f674587ff3d68bf170df2296303780e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSet api_extensions = all for NeutronTrunk only 23/54023/1
Cédric Ollivier [Fri, 16 Mar 2018 21:38:55 +0000 (22:38 +0100)]
Set api_extensions = all for NeutronTrunk only

Change-Id: I6c019094a9cea86f5990752463a3690d4f00df0c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSet project_name arg when creating users 37/53937/3
Cédric Ollivier [Fri, 16 Mar 2018 06:14:40 +0000 (07:14 +0100)]
Set project_name arg when creating users

It also print snaps_creds to ease debugging [1].

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

Change-Id: I5b0d0dcffe3e45d8fa7d1d7d8ce19172fc42aaa1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoDisable features in nofeature scenario 35/53935/2
Cédric Ollivier [Fri, 16 Mar 2018 02:36:07 +0000 (03:36 +0100)]
Disable features in nofeature scenario

Only Funtest testcases are verifying the referent scenarios.

Change-Id: I29dfa012e9cba39216fdd58e5fd59255844f335b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Create 2 images and flavors for tempest tests"
Cedric Ollivier [Thu, 15 Mar 2018 15:25:21 +0000 (15:25 +0000)]
Merge "Create 2 images and flavors for tempest tests"

6 years agoRemove the image for orchestra tests 61/53861/1
Linda Wang [Thu, 15 Mar 2018 09:26:15 +0000 (09:26 +0000)]
Remove the image for orchestra tests

Change-Id: I80797fc08c03795c6e1ec604306f77da7ecefc19
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoCreate 2 images and flavors for tempest tests 13/53613/8
Linda Wang [Tue, 13 Mar 2018 01:36:40 +0000 (01:36 +0000)]
Create 2 images and flavors for tempest tests

Also
1. remove the obsolete function: generate_test_accounts_file
2. Use patch mechanism to get config

Change-Id: I455ac37de71519bcaf9a51e5f1de1b9bc83b9ba6
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoSet blocking of patrole false 25/53825/2
Linda Wang [Thu, 15 Mar 2018 02:15:56 +0000 (02:15 +0000)]
Set blocking of patrole false

Change-Id: Ia6f0c6fec30af5c4124f21b2bdaa3084bced6f9e
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoMerge "Refactor TempestCommon to simplify subclasses"
valentin boucher [Wed, 14 Mar 2018 14:53:23 +0000 (14:53 +0000)]
Merge "Refactor TempestCommon to simplify subclasses"

6 years agoRefactor TempestCommon to simplify subclasses 53/53753/2
Cédric Ollivier [Wed, 14 Mar 2018 07:37:21 +0000 (08:37 +0100)]
Refactor TempestCommon to simplify subclasses

Change-Id: I8d265b6939861fd9d02a3d0f31aef53b9bfcb035
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoGet odl ip from env on Compass 49/53749/2
Linda Wang [Wed, 14 Mar 2018 04:17:05 +0000 (04:17 +0000)]
Get odl ip from env on Compass

Change-Id: I9ed2cdeef461c27381ecdfd56e5347ded61b5cb8
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoMerge "Implement trunk ports testcase"
Linda Wang [Wed, 14 Mar 2018 03:05:12 +0000 (03:05 +0000)]
Merge "Implement trunk ports testcase"

6 years agoLeverage on VOLUME_DEVICE_NAME if Fuel 23/53723/1
Cédric Ollivier [Tue, 13 Mar 2018 20:21:53 +0000 (21:21 +0100)]
Leverage on VOLUME_DEVICE_NAME if Fuel

As Fuel sets VOLUME_DEVICE_NAME [1], the specific conditional
instruction can be removed.

[1] https://build.opnfv.org/ci/job/functest-fuel-baremetal-daily-master/18/console

Change-Id: Iee3fd7c969cf31c8017b73c6ffd646f0e33a9e73
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoBypass APEX-570 when publishing image metadata 97/53697/2
Cédric Ollivier [Tue, 13 Mar 2018 15:27:39 +0000 (16:27 +0100)]
Bypass APEX-570 when publishing image metadata

This temporarily fix aims at testing juju_epc vs a non default region
name [1]. It must be removed as soon as APEX is fixed [2].

It completes the previous patch which only modified credentials [3].

[1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/lastFailedBuild/console
[2] https://jira.opnfv.org/browse/APEX-570
[3] https://gerrit.opnfv.org/gerrit/#/c/53465/

Change-Id: I3e1e64ad7147ee5cdf899eb2500f8b825b818619
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoImplement trunk ports testcase 21/52521/23
Panagiotis Karalis [Fri, 23 Feb 2018 12:56:25 +0000 (14:56 +0200)]
Implement trunk ports testcase

The tempest testcases have been integrated from Neutron trunk
testcases. It also enables every Neutron extension which may raise
side effects [1].

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

JIRA: FUNCTEST-926

Change-Id: I05015acf119f504ce0a5539d677719de874594ad
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
6 years agoMerge "Add patrole in smoke"
Cedric Ollivier [Tue, 13 Mar 2018 12:14:05 +0000 (12:14 +0000)]
Merge "Add patrole in smoke"

6 years agoAdd patrole in smoke 59/53659/3
Cédric Ollivier [Tue, 13 Mar 2018 10:08:36 +0000 (11:08 +0100)]
Add patrole in smoke

It also removes the former container which had helped when
checking possible regex issues.

I should be noted that patrole is already part of
opnfv/functest-restapi.

Change-Id: I76783bc3d121dfcef5b709f21a5e474354e93705
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix tempest_custom 39/53639/1
Linda Wang [Tue, 13 Mar 2018 07:54:10 +0000 (07:54 +0000)]
Fix tempest_custom

Change-Id: I684c06eae899d9bc468e0be6a1537f9c942e86ce
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoRemove orchestra testcases 91/53591/1
Cédric Ollivier [Mon, 12 Mar 2018 16:32:04 +0000 (17:32 +0100)]
Remove orchestra testcases

They are incompatible with Pike and they have to be removed without
any deep update.

The testcases will be re-renabled if updated before 03/16/18.

Change-Id: Ibf656db6ba4177eae44feb41cd5d314b7408d4de
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Stopping setting identity-feature-enabled if Patrole"
Cedric Ollivier [Mon, 12 Mar 2018 14:42:35 +0000 (14:42 +0000)]
Merge "Stopping setting identity-feature-enabled if Patrole"

6 years agoMerge changes from topic 'refactor_tempest'
Cedric Ollivier [Mon, 12 Mar 2018 14:42:23 +0000 (14:42 +0000)]
Merge changes from topic 'refactor_tempest'

* changes:
  Rewrite refstack testcase
  Fix many pylint warnings

6 years agoMerge changes from topic 'refactor_tempest'
Cedric Ollivier [Mon, 12 Mar 2018 14:38:42 +0000 (14:38 +0000)]
Merge changes from topic 'refactor_tempest'

* changes:
  Refactor configure_tempest_patrole()
  Improve tempest files management

6 years agoStopping setting identity-feature-enabled if Patrole 29/53529/1
Cédric Ollivier [Mon, 12 Mar 2018 12:32:14 +0000 (13:32 +0100)]
Stopping setting identity-feature-enabled if Patrole

It avoids differing from all other tempest-based testcases for a
useless config option.

Change-Id: I02e1786f0ba3c1f7da11f258e80f57ca624247f9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Add patrole in opnfv/functest-restapi"
valentin boucher [Mon, 12 Mar 2018 12:22:56 +0000 (12:22 +0000)]
Merge "Add patrole in opnfv/functest-restapi"

6 years agoRewrite refstack testcase 63/53463/6
Cédric Ollivier [Sun, 11 Mar 2018 11:44:01 +0000 (12:44 +0100)]
Rewrite refstack testcase

It now leverages on rally to factorize code between all tempest-based
testcases.

refstack-client is also added as requirement.

JIRA: FUNCTEST-942

Change-Id: Ieee845327f8736582d77b898edd6c9edd00667e0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix many pylint warnings 75/53475/1
Cédric Ollivier [Sun, 11 Mar 2018 18:16:09 +0000 (19:16 +0100)]
Fix many pylint warnings

Only pylint warnings in vnf modules has to be fixed now.

Change-Id: Ie71230072a51bb72ec0b1d4fef2652494d29948e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoBypass APEX-570 to allow gating juju_epc 65/53465/1
Cédric Ollivier [Sun, 11 Mar 2018 12:05:18 +0000 (13:05 +0100)]
Bypass APEX-570 to allow gating juju_epc

This temporarily fix aims at testing juju_epc vs a non default region
name [1]. It must be removed as soon as APEX is fixed [2].

[1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/lastFailedBuild/console
[2] https://jira.opnfv.org/browse/APEX-570

Change-Id: I0724b694efb43709d43da6a30e11d1daafee47d8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRefactor configure_tempest_patrole() 61/53461/1
Cédric Ollivier [Sun, 11 Mar 2018 08:48:16 +0000 (09:48 +0100)]
Refactor configure_tempest_patrole()

Change-Id: I1c34b3bce68a7d57d63fb2e5e4b6aa003dda8f61
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoImprove tempest files management 57/53457/1
Cédric Ollivier [Sat, 10 Mar 2018 20:06:37 +0000 (21:06 +0100)]
Improve tempest files management

Calling apply_tempest_blacklist() is no longer mandatory.

Change-Id: Id9a4e970c8acca066a36be89920745127867cd63
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd patrole in opnfv/functest-restapi 53/53453/1
Cédric Ollivier [Sat, 10 Mar 2018 13:35:53 +0000 (14:35 +0100)]
Add patrole in opnfv/functest-restapi

Change-Id: I983898c27477986d9a5610e1df966fd00a8bc785
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoEnhance patrole configurations 51/53451/2
Cédric Ollivier [Sat, 10 Mar 2018 12:34:43 +0000 (13:34 +0100)]
Enhance patrole configurations

It allows listing the OpenStack services tested or setting test
exlusions (e.g. tests requiring GRE as overlay).

It should be noted that Keystone and Nova can't currently be tested
without their default policy.json.

Change-Id: I8909694b4ffc315959504441f5ea0b1f3023fe7c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd one missing res dir in refstack 33/53433/1
Cédric Ollivier [Fri, 9 Mar 2018 20:01:15 +0000 (21:01 +0100)]
Add one missing res dir in refstack

It completes "Allow overriding tempest output dir" [1]

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

Change-Id: I236a1eb708de324dd42440897e317ce2d0787ffc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove duplicate ubuntu trusty/14.04 os image 11/53311/1
Valentin Boucher [Thu, 8 Mar 2018 14:21:39 +0000 (09:21 -0500)]
Remove duplicate ubuntu trusty/14.04 os image

VNF testcase use some Operating System image
2 of those are the same but not with the same name

Change-Id: Ide5ae683f606f7f58535c0a59cec45e4a30d225c
Signed-off-by: Valentin Boucher <valentin.boucher@kontron.com>
6 years agoAdd neutron and glance policy.json for patrole 23/53223/6
Cédric Ollivier [Wed, 7 Mar 2018 09:26:26 +0000 (10:26 +0100)]
Add neutron and glance policy.json for patrole

It only runs tests about neutron and glance because their policy.json
can be still downloaded. Installers could override them via docker
volumes if needed.

Several tests about provider networks are currently excluded because
GRE is selected.

Change-Id: Ic4e2274e3f53e66be0174e117993e8c307b96bf9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAllow overriding tempest output dir 41/53241/3
Cédric Ollivier [Wed, 7 Mar 2018 13:02:08 +0000 (14:02 +0100)]
Allow overriding tempest output dir

Change-Id: I31a5d2772bab168b3cb4e6b0713d6e95aa5b6fd7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSet ODL tests and refstack client refs 21/53221/1
Cédric Ollivier [Wed, 7 Mar 2018 04:57:33 +0000 (05:57 +0100)]
Set ODL tests and refstack client refs

To prepare F-release, we should set git commit ids for these
dependencies which follow the rolling release model (master).

Change-Id: I3c791040ea5ec700cfa845ae642e6d862c49281f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd a new env var for nameserver 73/53073/3
Linda Wang [Mon, 5 Mar 2018 03:14:23 +0000 (03:14 +0000)]
Add a new env var for nameserver

We should still consider that the nameserver must be handled by all
installers instead [1]:
  - by configuring one or more DNS resolvers in dhcp_agent.ini
  - by asking a local resolv

It eases setting the nameserver in testcases and then allows gating
them. 8.8.8.8 is still defined by default.

[1] https://docs.openstack.org/neutron/pike/admin/config-dns-res.html

Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Id58dd5ebee612a0fce2ebc40f089769e60899416
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoDefine a new env var for volume device name 95/53195/2
Cédric Ollivier [Wed, 7 Mar 2018 01:15:20 +0000 (02:15 +0100)]
Define a new env var for volume device name

It eases modifying the volume device name written in tempest config.
Fuel jobs should be adapted to set the right value (vdc) which
differs from default (vdb).

Change-Id: I09212018f94daa800ede815bd3586cceed0d54e7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Fix Rally scenario parameters representation"
Cedric Ollivier [Mon, 5 Mar 2018 16:26:34 +0000 (16:26 +0000)]
Merge "Fix Rally scenario parameters representation"

6 years agoFix Rally scenario parameters representation 01/53101/1
Juha Kosonen [Mon, 5 Mar 2018 15:17:53 +0000 (17:17 +0200)]
Fix Rally scenario parameters representation

Use printable format of string in scenario input parameters.

JIRA: FUNCTEST-946

Change-Id: Ic4826506a6f030e749fecdc7f880e9f911f9c987
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
6 years agoMerge "Load SfcFunctest instead of running a bash script"
Cedric Ollivier [Mon, 5 Mar 2018 14:49:55 +0000 (14:49 +0000)]
Merge "Load SfcFunctest instead of running a bash script"

6 years agoConfig volume_device_name as vdc for fuel 89/53089/3
Linda Wang [Mon, 5 Mar 2018 09:02:48 +0000 (09:02 +0000)]
Config volume_device_name as vdc for fuel

JIRA: FUNCTEST-947

Change-Id: I69a83dc69eaa4379c630e201e837f29311c716b9
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoLoad SfcFunctest instead of running a bash script 85/53085/1
Cédric Ollivier [Mon, 5 Mar 2018 07:45:51 +0000 (08:45 +0100)]
Load SfcFunctest instead of running a bash script

It allows publishing tests details.

Change-Id: Iffc49f8258cdd2c145750343003f21921ac7ff67
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate module to xtesting.core.feature for parser 59/53059/1
Cédric Ollivier [Sun, 4 Mar 2018 17:38:44 +0000 (18:38 +0100)]
Update module to xtesting.core.feature for parser

Change-Id: I8c4e34b7907d1809e100c6677101b8076272f493
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSet user domain name when creating users 55/53055/1
Cédric Ollivier [Sun, 4 Mar 2018 11:19:15 +0000 (12:19 +0100)]
Set user domain name when creating users

It updates juju_epc.py and cloudify_vrouter.py.

Change-Id: I8cf97e31d78a4d48ad815faadc8e4130581e1c21
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate xtesting version to 0.22.0 51/53051/2
Cédric Ollivier [Sun, 4 Mar 2018 10:37:33 +0000 (11:37 +0100)]
Update xtesting version to 0.22.0

Change-Id: I4dc3eb42d122986fb2ac131279aab57cdf92d916
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSupport domains when creating project/user 47/53047/1
Linda Wang [Sun, 4 Mar 2018 07:24:04 +0000 (07:24 +0000)]
Support domains when creating project/user

JIRA: FUNCTEST-945

Change-Id: Ibfce5a7d2ebb59a83ad5b2b6344c2fc87d7f3e84
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoSet default volume_device_name = vdb 37/53037/1
Cédric Ollivier [Sat, 3 Mar 2018 18:17:36 +0000 (19:17 +0100)]
Set default volume_device_name = vdb

refstack_defcore is currently failing on all installers.
It will highlight the right value per installer.

A better way is to manage the device name by a new env var set by all
installers (it may depend on kdrive configurations)

JIRA: FUNCTEST-947
Change-Id: If1c12bc6798bc89136715bc78f2ac0b798e669e6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Add functest-patrole in build.sh"
valentin boucher [Fri, 2 Mar 2018 18:41:27 +0000 (18:41 +0000)]
Merge "Add functest-patrole in build.sh"

6 years agoMerge "Set networking-bgpvpn version in upper-constraints.txt"
valentin boucher [Fri, 2 Mar 2018 18:38:45 +0000 (18:38 +0000)]
Merge "Set networking-bgpvpn version in upper-constraints.txt"

6 years agoMerge "Leverage on Xtesting"
valentin boucher [Fri, 2 Mar 2018 18:37:54 +0000 (18:37 +0000)]
Merge "Leverage on Xtesting"

6 years agoSet networking-bgpvpn version in upper-constraints.txt 07/53007/1
Cédric Ollivier [Fri, 2 Mar 2018 16:20:25 +0000 (17:20 +0100)]
Set networking-bgpvpn version in upper-constraints.txt

As it's not listed in OpenStack requirements, it must be pinned in
Functest.

Change-Id: I4e692ef00d4b6e5dad9899ae279891699c9dcebc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd functest-patrole in build.sh 99/52999/1
Cédric Ollivier [Fri, 2 Mar 2018 14:38:40 +0000 (15:38 +0100)]
Add functest-patrole in build.sh

Change-Id: I4a749a0981a81a5b032fa564719c51db2e6c6551
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoLeverage on Xtesting 39/52939/4
Cédric Ollivier [Thu, 1 Mar 2018 14:20:10 +0000 (15:20 +0100)]
Leverage on Xtesting

It removes all the files which have moved to Xtesting.
Vnf inheritances and env management will be improved in other
changes.

It keeps the same tree thanks to a symlink to allow publishing
artifacts.

Change-Id: I551bbd3f344cdab0158a50b7b09e541576695631
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Add xtesting in upper-constraints.txt"
Cedric Ollivier [Thu, 1 Mar 2018 16:53:37 +0000 (16:53 +0000)]
Merge "Add xtesting in upper-constraints.txt"

6 years agoMerge "Set universal wheels"
Cedric Ollivier [Thu, 1 Mar 2018 16:53:30 +0000 (16:53 +0000)]
Merge "Set universal wheels"

6 years agoAdd xtesting in upper-constraints.txt 17/52917/3
Cédric Ollivier [Thu, 1 Mar 2018 07:58:53 +0000 (08:58 +0100)]
Add xtesting in upper-constraints.txt

functest-kubernetes requires xtesting and still reads this file.

Change-Id: I18d357cc88ae9a7e80aca568d408823291dc2ab3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoEnable barometer run on compass 05/52905/1
Linda Wang [Thu, 1 Mar 2018 04:58:07 +0000 (04:58 +0000)]
Enable barometer run on compass

Change-Id: Ic6f4f2a2d06dc70338da3bad53deca0a62a03232
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoSet universal wheels 83/52883/1
Cédric Ollivier [Thu, 1 Mar 2018 01:21:53 +0000 (02:21 +0100)]
Set universal wheels

Change-Id: I869679def8913ac804899655d80dbc6a830a6378
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Add guid in neutron resource names in juju_epc"
Cedric Ollivier [Wed, 28 Feb 2018 15:53:01 +0000 (15:53 +0000)]
Merge "Add guid in neutron resource names in juju_epc"

6 years agoMerge "Integrate Patrole as a new testcase"
Cedric Ollivier [Wed, 28 Feb 2018 15:03:20 +0000 (15:03 +0000)]
Merge "Integrate Patrole as a new testcase"

6 years agoMerge "Support different user/project domain values"
valentin boucher [Wed, 28 Feb 2018 14:49:11 +0000 (14:49 +0000)]
Merge "Support different user/project domain values"

6 years agoIntegrate Patrole as a new testcase 09/52809/2
Cédric Ollivier [Wed, 21 Feb 2018 06:56:26 +0000 (07:56 +0100)]
Integrate Patrole as a new testcase

It's published in a new container because the current results don't
allow gating.

0.2 is selected to meet OpenStack Pike's requirements.

Co-Authored-By: Rémi Le Trocquer <remi.letrocquer@orange.com>
Change-Id: Iafcf8f66ee3531fc43136886095774885bfc3150
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd guid in neutron resource names in juju_epc 67/52667/3
Cédric Ollivier [Mon, 26 Feb 2018 15:04:44 +0000 (16:04 +0100)]
Add guid in neutron resource names in juju_epc

JIRA: FUNCTEST-937

Change-Id: Ia0912dfe2cdbecf4c169aecb6ba1b71774e0a02f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove obsolete Functest utils 85/52685/1
Cédric Ollivier [Mon, 26 Feb 2018 17:01:01 +0000 (18:01 +0100)]
Remove obsolete Functest utils

Only 3 functions are kept as part of our framework:
  - execute_command_raise()
  - execute_command()
  - get_parameter_from_yaml()

Change-Id: I966a1d6122391dae85aa3c77813ad2f1698ceb45
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Raise exceptions when SDN_CONTROLLER_IP is None"
Cedric Ollivier [Mon, 26 Feb 2018 16:50:45 +0000 (16:50 +0000)]
Merge "Raise exceptions when SDN_CONTROLLER_IP is None"

6 years agoMerge "Stop raising keystoneauth1 exceptions in odl unit tests"
Cedric Ollivier [Mon, 26 Feb 2018 16:50:36 +0000 (16:50 +0000)]
Merge "Stop raising keystoneauth1 exceptions in odl unit tests"

6 years agoMerge "Fix KeyError of OS_AUTH_URL"
valentin boucher [Mon, 26 Feb 2018 15:24:54 +0000 (15:24 +0000)]
Merge "Fix KeyError of OS_AUTH_URL"

6 years agoRaise exceptions when SDN_CONTROLLER_IP is None 45/52645/1
Cédric Ollivier [Mon, 26 Feb 2018 10:52:15 +0000 (11:52 +0100)]
Raise exceptions when SDN_CONTROLLER_IP is None

Change-Id: Ia0d00a6b3c4c4936dc10602e838f507beea0c592
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoStop raising keystoneauth1 exceptions in odl unit tests 43/52643/1
Cédric Ollivier [Mon, 26 Feb 2018 10:31:48 +0000 (11:31 +0100)]
Stop raising keystoneauth1 exceptions in odl unit tests

It simply raises Exceptions to avoid depending on keystoneauth1.
Snaps may also reraise another exception.

Change-Id: Ib3041b2d8ff51ee098f2bf0b9918079b7945abf3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove openstack utils 37/52637/1
Cédric Ollivier [Mon, 26 Feb 2018 09:59:25 +0000 (10:59 +0100)]
Remove openstack utils

They have been obsolete since we fully switched to snaps.
The files are being moved to SDNVPN which is the last project using
them [1].

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

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