functest.git
5 years agoSet max_microversion for placement and volume 75/67675/1 stable/gambia
Cédric Ollivier [Mon, 22 Apr 2019 11:35:28 +0000 (13:35 +0200)]
Set max_microversion for placement and volume

It sets max_microversion to latest because if both values are not
specified, Tempest avoids tests which require a microversion [1].

It completes the previous change about nova [2].

[1] https://docs.openstack.org/tempest/latest/sampleconf.html
[2] https://gerrit.opnfv.org/gerrit/#/c/67318/

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

5 years agoUpdate rally-openstack to 1.3.0 70/67670/1
Cédric Ollivier [Mon, 22 Apr 2019 17:38:28 +0000 (19:38 +0200)]
Update rally-openstack to 1.3.0

It allows verifying volumev3 which is the default cinder service_type [1].
volumev2 could have been verified with rally-openstack 1.2.0 but it wouldn't
have conformed with OpenStack guidelines [2].

[1] https://gerrit.opnfv.org/gerrit/#/c/67505/
[2] https://review.opendev.org/#/c/501874/

Change-Id: Id9237b77a441b13f197a3bdf048a9d674ee437da
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoPublish benchmarking manifest via travis-ci 52/67652/1
Cédric Ollivier [Sun, 21 Apr 2019 18:00:10 +0000 (20:00 +0200)]
Publish benchmarking manifest via travis-ci

Change-Id: I79397f25a2f618225a627ad1b956bd66b88fce0e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate all OpenStack refs to opendev.org 41/67641/3
Cédric Ollivier [Fri, 19 Apr 2019 23:16:48 +0000 (01:16 +0200)]
Update all OpenStack refs to opendev.org

All gates are failing due wrong to redirections (see os-faults [1][2]).

[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-tempest-latest-gate/96/console
[2] https://travis-ci.org/collivier/functest/builds/522071220

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

5 years agoStop forcing admin_scope_domain = True 96/67596/1 opnfv-7.2.0
Cédric Ollivier [Mon, 15 Apr 2019 12:18:40 +0000 (14:18 +0200)]
Stop forcing admin_scope_domain = True

tempest fails vs devstack stable/stein and it passes successfully vs
devstack stable/rocky (Functest gates) without that option.

It may be added to tempest_conf.yaml if SUT requires it.

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

5 years agoVerify py36 via travis-ci 78/67578/1
Cédric Ollivier [Sat, 13 Apr 2019 20:30:42 +0000 (22:30 +0200)]
Verify py36 via travis-ci

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

5 years agoFix doc links 37/67537/1
Cédric Ollivier [Thu, 11 Apr 2019 06:50:56 +0000 (08:50 +0200)]
Fix doc links

It removes 1 link to ask.openstack.org which is being stopped.
It also bypasses the issues due to LFN false certificates [1].

[1] https://travis-ci.org/collivier/functest/jobs/518170144

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

5 years agoRemove refs to former binaries 11/67511/1
Cédric Ollivier [Tue, 9 Apr 2019 19:05:10 +0000 (21:05 +0200)]
Remove refs to former binaries

Change-Id: I9008d21bb42c913e347df90eda814e638d5cdedd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoSet cinder service type in rally tests 05/67505/1
Juha Kosonen [Mon, 8 Apr 2019 11:36:10 +0000 (14:36 +0300)]
Set cinder service type in rally tests

As a precondition for executing scenarios requiring volume, Rally
expects the presence of service named as "cinder". In a case when
there is only cinderv2 and cinderv3 configured in the system, Rally
fails to validate a testcase even the volume service is working ok.

Testcases in question changed to use v3.

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

5 years agoRemove 1 Patrole test with a hardcoded vxlan id 67/67467/1
Cédric Ollivier [Mon, 1 Apr 2019 22:58:45 +0000 (00:58 +0200)]
Remove 1 Patrole test with a hardcoded vxlan id

It may fail when testing OpenStack in production or when running
testcases in parallel [1] because vxlan 200 is hardcoded [2]

[1] http://artifacts.opnfv.org/functest/functest-opnfv-functest-smoke-hunter-patrole-run-75/results/patrole/tempest-report.html
[2] https://github.com/openstack/patrole/blob/master/patrole_tempest_plugin/tests/api/network/test_networks_rbac.py#L208

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

5 years agoUpdate network context in selected rally tests 61/67461/1
Juha Kosonen [Mon, 1 Apr 2019 09:35:22 +0000 (12:35 +0300)]
Update network context in selected rally tests

Network context not needed in following scenarios:

NeutronNetworks.create_and_delete_routers
NeutronNetworks.create_and_list_routers
NeutronNetworks.create_and_list_subnets
NeutronNetworks.create_and_update_routers
NeutronNetworks.create_and_update_subnets
NeutronNetworks.create_and_show_routers

Router not needed in network context in following scenarios:

NeutronNetworks.create_and_update_ports
NeutronNetworks.create_and_delete_ports
NeutronNetworks.create_and_delete_subnets
NeutronNetworks.create_and_list_ports
NeutronNetworks.create_and_show_ports
NeutronNetworks.create_and_show_subnets

This completes the patch skipping router creation [1].

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

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

5 years agoSkip router creation in selected rally tests 51/67451/1
Juha Kosonen [Thu, 28 Mar 2019 15:40:30 +0000 (17:40 +0200)]
Skip router creation in selected rally tests

Do not create routers in those rally_sanity tests where the test does
not require it.

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

5 years agoFix other broken links 87/67387/1
Cédric Ollivier [Mon, 25 Mar 2019 19:42:14 +0000 (20:42 +0100)]
Fix other broken links

https://git.opnfv.org/cgit doesn't provide a correct certificate and
then sphinx linkcheck fails [1].

[1] https://travis-ci.org/collivier/functest/jobs/510587514

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

5 years agoFix the broken link in docs 83/67383/1
Cédric Ollivier [Mon, 25 Mar 2019 18:29:40 +0000 (19:29 +0100)]
Fix the broken link in docs

git.opnfv.org doesn't provide a correct certificate and then sphinx
linkcheck fails [1].

[1] https://travis-ci.org/collivier/functest/jobs/510587514

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

5 years agoRemove SNAPS test_create_router_external_network 74/67374/1
Cédric Ollivier [Sun, 24 Mar 2019 13:47:02 +0000 (14:47 +0100)]
Remove SNAPS test_create_router_external_network

test_create_router_external_network fails if DVR.
Then CreateRouterSuccessTests has to be removed due to the interface
between Functest and SNAPS.

ft1.5: snaps.openstack.tests.create_router_tests.CreateRouterSuccessTests.test_create_router_external_network_StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/snaps/openstack/tests/create_router_tests.py", line 431, in test_create_router_external_network
    self.check_router_recreation(router, router_settings)
  File "/usr/lib/python2.7/site-packages/snaps/openstack/tests/create_router_tests.py", line 499, in check_router_recreation
    len(derived_settings.port_settings))
  File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: 1 != 4

Change-Id: I09946de01b5d0f0c9b9a41a6520d6b2be51f5238
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoFix manifest-tool builds 71/67371/3
Cédric Ollivier [Sun, 24 Mar 2019 12:57:11 +0000 (13:57 +0100)]
Fix manifest-tool builds

It now selects the last release to allow compiling it [1]

[1] https://travis-ci.org/collivier/functest-xtesting/jobs/510384544

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

5 years agoRemove hardcoded tempos in heat_ims 44/67344/1
Cédric Ollivier [Fri, 22 Mar 2019 21:15:34 +0000 (22:15 +0100)]
Remove hardcoded tempos in heat_ims

It adds loops to wait for services.
It sets dns forwarders to allow sending Heat signal at last
instructions.

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

5 years agoSet ext net and name server in Shaker templates 31/67331/1
Cédric Ollivier [Thu, 21 Mar 2019 19:45:07 +0000 (20:45 +0100)]
Set ext net and name server in Shaker templates

It sets the shaker args to override ext net and name servers [1].

[1] https://pyshaker.readthedocs.io/en/latest/tools.html

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

5 years agoSet max_microversion to 2.60 23/67323/1
Cédric Ollivier [Thu, 21 Mar 2019 14:30:55 +0000 (15:30 +0100)]
Set max_microversion to 2.60

By setting max version (Queens), it avoids skipping any test [1].

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

Change-Id: I1641fd1daeddc91cfdbdd6957e750e85b22897df
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRevert "Allow building containers when refstack.openstack.org is down" 20/67320/1
Cédric Ollivier [Thu, 21 Mar 2019 06:49:34 +0000 (07:49 +0100)]
Revert "Allow building containers when refstack.openstack.org is down"

refstack.openstack.org is up!
This reverts commit c693862a4014fd444b6f75da62da4cd8c2a088fc.

Change-Id: I95326167763e67baccd866a1e61611cd187ec316
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoDo not allow testcase skipping in refstack 01/67301/1
Juha Kosonen [Mon, 18 Mar 2019 11:40:05 +0000 (13:40 +0200)]
Do not allow testcase skipping in refstack

Set the result of refstack_defcore as failed if there were skipped testcases
in a run.

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

5 years agoAvoid killing create_number.py 87/67287/1
Cédric Ollivier [Mon, 18 Mar 2019 17:04:40 +0000 (18:04 +0100)]
Avoid killing create_number.py

create_numbers.py has been killed by other services as described in [1].
It's now called when ellis is up and running.

It adds few sleeps to ensure the right boot orders (signals must be send
before switching DNS).

[1] http://www.projectclearwater.org/using-start-stop-daemon-with-the-python-interpreter/

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

5 years agoPrint monit summary before running IMS testing 74/67274/1
Cédric Ollivier [Sat, 16 Mar 2019 18:28:11 +0000 (19:28 +0100)]
Print monit summary before running IMS testing

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

5 years agoAdd sleeps and debugs in heat_ims 73/67273/1
Cédric Ollivier [Sat, 16 Mar 2019 14:45:39 +0000 (15:45 +0100)]
Add sleeps and debugs in heat_ims

It allows checking all the services and hardening the asynchronuous
configurations.

It will ease understanding the remaining race conditions in gates.

Change-Id: I1f72a828f4eb32c33f43066e5c71558067bd292f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 26ddcc28113219b6180b36549995d94f075403fd)
(cherry picked from commit 49dd51392ced7555c59d94a21c7b2632e4cfe8e9)

5 years agoBoot Cassandra at the end of heat_ims stack 50/67250/1
Cédric Ollivier [Wed, 13 Mar 2019 08:35:24 +0000 (09:35 +0100)]
Boot Cassandra at the end of heat_ims stack

Cassandra sometimes doesn't start when it boots in parallel of the other services.
It now selects eth0 instead of forcing ipv6 on lo.

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

5 years agoAdd deps in clearwater.yaml 39/67239/1
Cédric Ollivier [Tue, 12 Mar 2019 13:55:12 +0000 (14:55 +0100)]
Add deps in clearwater.yaml

Ellis must be started right after dns to publish the shared config.

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

5 years agoAllow building containers when refstack.openstack.org is down 34/67234/1
Cédric Ollivier [Mon, 11 Mar 2019 12:59:49 +0000 (13:59 +0100)]
Allow building containers when refstack.openstack.org is down

It has been down for days and break our gates.

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

5 years agoRemove inactive committers 28/67228/1
Cédric Ollivier [Sun, 10 Mar 2019 17:40:50 +0000 (18:40 +0100)]
Remove inactive committers

It follows the last guidelines from TSC (1-year inactivity).
It stop listing contributors as it's worse than git log.

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

5 years agoAdd dependencies in heat_ims 21/67221/1
Cédric Ollivier [Sat, 9 Mar 2019 16:46:46 +0000 (17:46 +0100)]
Add dependencies in heat_ims

It avoids useless loops for cloud init messages.
It now conforms with clearwater-docker (disable ipv6 in cassandra).

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

5 years agoModify the upstream Clearwater Heat files 92/67192/1
Cédric Ollivier [Thu, 7 Mar 2019 00:38:44 +0000 (01:38 +0100)]
Modify the upstream Clearwater Heat files

It forces a single network for both management and signaling traffic.
It meets the OPNFV deployment requirements and the Functest SUT ones.

The security group will be improved in a second step to first quickly
fix the testcase in gambia. Private IPs may be registered in DNS to
avoid network address translations.

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

5 years agoStop overriding ssh default timeout 68/67168/1
Cédric Ollivier [Sun, 3 Mar 2019 12:31:15 +0000 (13:31 +0100)]
Stop overriding ssh default timeout

It should be modified by tempest custom yaml file instead.
It's safe as the default timeout is bigger than the previous one.

It also cleans the obsolete tempest/rally data in config_functest.yaml.

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

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

5 years agoStop forcing non default operator role 63/67163/2
Cédric Ollivier [Sun, 3 Mar 2019 10:27:09 +0000 (11:27 +0100)]
Stop forcing non default operator role

Member is the default value [1] and SwiftOperator is not created by
default in OpenStack gates (devstack)

This role should be modified by tempest custom yaml file instead.

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

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

5 years agoChange password generator 59/67159/1
Cédric Ollivier [Fri, 1 Mar 2019 18:20:13 +0000 (19:20 +0100)]
Change password generator

It adds lower and upper letters

JIRA: DOVETAIL-747

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

5 years agoPin neutron to the last Queens version 55/67155/1
Cédric Ollivier [Fri, 1 Mar 2019 13:26:09 +0000 (14:26 +0100)]
Pin neutron to the last Queens version

networking sfc and bgpvpn depend on it.
If unpinned, a newer version could be selected and then could
raise side effects

Change-Id: Id01e19096d03c4857a51a40650808f2bd2e81860
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoConform heat_ims subnets with other testcases 39/67139/1
Cédric Ollivier [Wed, 27 Feb 2019 20:29:23 +0000 (21:29 +0100)]
Conform heat_ims subnets with other testcases

It will be enhanced in a second step to calculate options from configs.

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

5 years agoReduce Heat Ims resources 31/67131/1
Cédric Ollivier [Wed, 27 Feb 2019 14:56:10 +0000 (15:56 +0100)]
Reduce Heat Ims resources

It eases testing with less resources.
It conforms with the new values in the Cloudify part [1].

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

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

5 years agoEnsure boot order in heat_ims 30/67130/1
Cédric Ollivier [Wed, 27 Feb 2019 09:56:20 +0000 (10:56 +0100)]
Ensure boot order in heat_ims

Ellis publishes the shared config which mostly fails when resources are
allocated in parallel (conflict). Then nothing works when the shared
config is blank.

It still remains failures in IMS testing which are still under analysis.

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

5 years agoGather all skipped tempest test cases 24/67124/1
Panagiotis Karalis [Mon, 25 Feb 2019 12:56:18 +0000 (14:56 +0200)]
Gather all skipped tempest test cases

This patch applies a change to the regex responsible for
identifying Tempest test cases. With the current regex some
skipped test cases are erroneously ignored.

The condition has been updated in order to match both format of
skipped testcases ('skip:' and 'skip [xxx]:')

Change-Id: Ie7144b01e07cae92918eede0324f3f1f2582c4aa
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
(cherry picked from commit 692c50bbeb01b57c184cd8629a534a19f9b9ad73)

5 years agoRemove useless vyos_vrouter output dir 10/67110/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 01/67101/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 97/67097/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 96/67096/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 90/67090/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 59/67059/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 57/67057/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 45/67045/1
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) 44/67044/1
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 43/67043/1
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>
(cherry picked from commit 18e2880cba0265219941dfc4700f334e500d23eb)

5 years agoSpecify which rally tests to run 29/67029/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 19/67019/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 agoGenerate one single report for Rally testcases 03/67003/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 01/67001/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 agoRemove go cache dir 73/66973/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 67/66967/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 35/66935/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 33/66933/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 agoUpdate Cloudify images 43/66843/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 agoAdd missing | (typos) in Dockerfiles 39/66839/2
Cédric Ollivier [Sun, 3 Feb 2019 09:29:53 +0000 (10:29 +0100)]
Add missing | (typos) in Dockerfiles

https://build.opnfv.org/ci/job/functest-tempest-docker-build-amd64-gambia/100/console

Change-Id: I84075b585a0c45effb4120f3c0050e85a1ea6cfd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate tempest to fix interfaces_by_fixed_ip 37/66837/1
Cédric Ollivier [Sat, 2 Feb 2019 19:49:42 +0000 (20:49 +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: I4fe3a6c355fd05bdac5a466816c5ed142be14fed
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoAllow running latest tempest_full 95/66795/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 agoRemove CreateInstanceVolumeTests (snaps_smoke) 55/66755/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 49/66749/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 agoWait for apps being active (juju_epc) 23/66723/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 03/66703/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/gambia
Cedric Ollivier [Sun, 27 Jan 2019 00:06:23 +0000 (00:06 +0000)]
Merge "Stop using urljoin when adding v3" into stable/gambia

5 years agoMerge "Set Gnocchi scenario as optional in rally tests" into stable/gambia
Cedric Ollivier [Sun, 27 Jan 2019 00:03:42 +0000 (00:03 +0000)]
Merge "Set Gnocchi scenario as optional in rally tests" into stable/gambia

5 years agoStop using urljoin when adding v3 65/66665/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 73/66673/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 59/66659/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 29/66529/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 25/66525/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) 19/66519/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 13/66513/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__() 11/66511/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 fds in Gambia jjbs 91/66391/1
Cédric Ollivier [Mon, 14 Jan 2019 20:15:29 +0000 (21:15 +0100)]
Remove fds in Gambia jjbs

FDS didn't participate to Gambia.

Change-Id: I3b1c43bc729587616c4aff999738e96ec7f88b47
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRemove former ci jobs 77/66377/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 agoCheck if key exists instead of leveraging on update_if_exists 63/66263/3
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 69/66269/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) 57/66257/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/gambia
Cedric Ollivier [Mon, 7 Jan 2019 07:52:25 +0000 (07:52 +0000)]
Merge "Publish "Functest on steroids" (Plugfest-Gambia)" into stable/gambia

5 years agoSwitch from port to dport in site.yml 45/66245/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) 35/66235/3
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 33/66233/1
Cédric Ollivier [Sat, 5 Jan 2019 19:33:09 +0000 (20:33 +0100)]
Update reveal.js to 3.7.0

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

5 years agoConform with new tag configs 19/66219/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 95/66095/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 79/66079/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 agoSelect Rocky for Neutron Rally jobs 13/66013/2
Cédric Ollivier [Thu, 20 Dec 2018 19:02:54 +0000 (20:02 +0100)]
Select Rocky for Neutron Rally jobs

It fixes our gates (the testcase was developed just after OpenStack
Rocky).

Change-Id: Ic1eac9a54115a56c60e609faea818989cd2bfce8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoFix Gambia's ansible/site.yml 87/65987/1
Cédric Ollivier [Wed, 19 Dec 2018 14:56:21 +0000 (15:56 +0100)]
Fix Gambia's ansible/site.yml

Change-Id: I67a8514d76b33a3e7fda51d7f7d2ca329b784916
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoFix nits in ansible/site.yml 69/65969/1
Cédric Ollivier [Wed, 19 Dec 2018 06:55:37 +0000 (07:55 +0100)]
Fix nits in ansible/site.yml

Change-Id: I83cd8a7994a1aab9411a8a5b94aee51f23fc5c3c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoVerify Ansible playbooks via ansible-lint 59/65959/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 51/65951/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 35/65935/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 97/65897/2
Cédric Ollivier [Sun, 16 Dec 2018 08:32:41 +0000 (09:32 +0100)]
Fix NEUTRON_RALLY_TAG in smoke

It also fixes rally task name in config.

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

5 years agoRemove duplicated code in vnfs 29/65629/1 opnfv-7.1.0
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 23/65523/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) 49/65349/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 55/65355/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 85/65185/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 agoSwitch to Clearwater Zamin (heat_ims) 23/65123/2
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 11/65111/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)