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)
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)
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)
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)
Cedric Ollivier [Mon, 7 Jan 2019 07:52:25 +0000 (07:52 +0000)]
Merge "Publish "Functest on steroids" (Plugfest-Gambia)" into stable/gambia
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)
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)
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)
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)
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)
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)
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>
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>
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>
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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
891e997c96fc468494cef126e8b99cc0523c6acf)
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)
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)
Cedric Ollivier [Wed, 7 Nov 2018 10:14:06 +0000 (10:14 +0000)]
Merge "Disable agent testing in tempest-based testcases" into stable/gambia
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)
Cédric Ollivier [Wed, 7 Nov 2018 08:47:03 +0000 (09:47 +0100)]
Revert "Update Snaps commit id"
This reverts commit
e06c0bd24fc99c5d411fd56d482cdbd8bb41bdf0.
Change-Id: I110b0b82c5e2ec3fa869ee1e4deb74a869b9db06
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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)
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)
Cedric Ollivier [Tue, 6 Nov 2018 13:14:19 +0000 (13:14 +0000)]
Merge changes If9b61064,I0490eade into stable/gambia
* changes:
Increase Vmtp timeouts
Run vnfs in all scenarios
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)
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)
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)
Cédric Ollivier [Wed, 31 Oct 2018 19:57:09 +0000 (20:57 +0100)]
Remove fds from Functest jjbs
Fds doesn't participate to Gambia.
Change-Id: I8bf4da40caee572442a23d67036755a8746dcae5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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)
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)
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)
Cédric Ollivier [Thu, 25 Oct 2018 11:10:53 +0000 (13:10 +0200)]
Revert "Temporarily switch to collivier/abot_charm"
This reverts commit
41177bc31389f923580278a0b914e511322961b2.
Change-Id: Ic4e7f790ed084713eeb930d86f00af0989d46874
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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)
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)
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)
Cédric Ollivier [Fri, 14 Sep 2018 18:10:15 +0000 (20:10 +0200)]
Change dir when calling stestr
https://build.opnfv.org/ci/view/functest/job/functest-fuel-baremetal-daily-master/467/console
Change-Id: Icaa773cf61397650e73a01b182a759dd64b11b95
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
d1eed120e18ec456841a8df2f29e1711da0aa833)
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)
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)
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)
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)
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)
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)
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)
Cedric Ollivier [Tue, 16 Oct 2018 16:32:41 +0000 (16:32 +0000)]
Merge "Do not create files in site-package directory" into stable/gambia
Cedric Ollivier [Tue, 16 Oct 2018 16:32:30 +0000 (16:32 +0000)]
Merge "Ease configuring extra specs via env vars" into stable/gambia
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)
Cédric Ollivier [Tue, 16 Oct 2018 09:49:42 +0000 (11:49 +0200)]
Take new stor4vnf and clover branches into a account
Change-Id: I92923338d156cecb2e4e4b57f50e016c99724fd7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Juha Kosonen [Mon, 15 Oct 2018 14:23:23 +0000 (17:23 +0300)]
Do not create files in site-package directory
Use /home/opnfv/functest/data/rally/task directory for storing
temporary files when running rally tasks.
Also removes unused vm scenario from task service list.
Change-Id: Icfd4f99ebe6194360bda8bd88e497e018a9541a0
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit
520331a06750dd02228f840c346402f52fb864e8)
Aric Gardner [Tue, 18 Sep 2018 16:43:39 +0000 (12:43 -0400)]
Conform with LFN doc rules
It hugely hacks docs to move away from submodules.
https://docs.opnfv.org/en/latest/how-to-use-docs/local-build-transition.html
It removes intern reports which can't be integrated in this new model.
All wrong links now deteted are updated.
Change-Id: I9dbebeed041d2e104e3b8e73483f656ba0ef5bb9
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
(cherry picked from commit
1a22e73c850c450305764c784c86dbc067e65dae)
Cédric Ollivier [Mon, 15 Oct 2018 17:10:28 +0000 (19:10 +0200)]
Update python3 to python3.6
It conforms with Alpine 3.8 (It updates the related tox entry).
Change-Id: I7ba8e3cf5bae2f48ff5d802511a288446bca645a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
b51417c9d2e7d34fec7d4bfa4fd723746e6b28e3)
Cédric Ollivier [Sun, 14 Oct 2018 10:08:03 +0000 (12:08 +0200)]
Fix image properties parsing
It removes useless spaces and now conforms with oslo.conf dict.
New helpers and unit tests are available.
Change-Id: I20335c5e5c3840cc872e158c6072d97a3f2cb98c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
904377462f58464937d4cafeb8c432f024a85bd4)
Cedric Ollivier [Tue, 9 Oct 2018 12:22:30 +0000 (12:22 +0000)]
Merge "Add Rally scenarios for testing floating IP" into stable/gambia
Juha Kosonen [Tue, 2 Oct 2018 13:27:51 +0000 (16:27 +0300)]
Add Rally scenarios for testing floating IP
rally_sanity:
NovaServers.boot_server_associate_and_dissociate_floating_ip
rally_full:
NovaServers.boot_server_associate_and_dissociate_floating_ip
NovaServers.boot_and_associate_floating_ip
Change-Id: I31b7693828920bae92ff4ac8e7b0fde86e958cb5
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit
6efcc4fe7456663445e9fbda54bba3239288ad73)
Cédric Ollivier [Tue, 9 Oct 2018 07:45:32 +0000 (09:45 +0200)]
Remove fds from stable/gambia
FDS doesn't participate to Gambia.
Change-Id: I9fb293b2972e0deb318ac9d3d08377039ea247e4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 9 Oct 2018 01:08:26 +0000 (03:08 +0200)]
Select new sdnvpn and barometer gambia branches
Change-Id: I3e76b8b75a0bda3b733662fcaf4ae917fc1fe9ce
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Delia Popescu [Thu, 6 Sep 2018 15:37:11 +0000 (18:37 +0300)]
Use environment variable for image properties
Use IMAGE_PROPERTIES environment variable to read extra
image properties.
Set image_extra_properties for scsi volume types
without file patch, but using IMAGE_PROPERTIES env variable
IMAGE_PROPERTIES is defined through releng.
Image extra_properties will continue to get updates from
functest config file
With this change, remove unnecessary parameters from arm patch
Related to:https://gerrit.opnfv.org/gerrit/#/c/63203/
JIRA:ARMBAND-402
Change-Id: I64139240751b1e109bbe24ba32f487ccd98b9a92
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
(cherry picked from commit
d7c5419ed8d3dcdb59f4f5f254de0c7bb7a0aec6)
Cédric Ollivier [Sat, 6 Oct 2018 09:37:26 +0000 (11:37 +0200)]
Read thirdparty-requirements.txt if py3
It fixes the current build issues due to unsynced doctor [1].
[1] https://build.opnfv.org/ci/job/functest-features-docker-build-arm64-master/455/console
Change-Id: Iad8b667e2615dcd976cd8120e4204665134922b7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
01509097c7447ee70d61f7e97d7947b127425eac)
Cédric Ollivier [Sat, 6 Oct 2018 08:20:22 +0000 (10:20 +0200)]
Update gambia's upper-constraints
It takes into account the new branches created by sfc and doctor.
Change-Id: I743fb3889de479bc7a1df51e9913bc1eada85ac2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 24 Sep 2018 20:51:32 +0000 (22:51 +0200)]
Update juju agents
It conforms with last juju update.
Change-Id: I4941aac66e5ac96045090f10f197f6ee2712caac
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
1ab7a53dab08a6f67ff2cf54f33b70dea0e82bfb)
Cédric Ollivier [Mon, 24 Sep 2018 06:47:14 +0000 (08:47 +0200)]
Update Juju to 2.3.9
It should fix the key bug about subnet discovery.
Now juju_epc may run in parallel of rally testcases.
Change-Id: I04c1fcf2a18b461e5809d436846aa52c4b2660c8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
a51d42200d94643314ece1a833181a7193ce2265)
Cédric Ollivier [Mon, 24 Sep 2018 04:28:21 +0000 (06:28 +0200)]
Protect if default secgroup not created
https://build.opnfv.org/ci/view/functest/job/functest-compass-virtual-daily-master/lastFailedBuild/console
Change-Id: I2b5f1dc577f98773ad40ed3bcfff609d8d6c4b93
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
5bb60b33a8fad4859b7391576fdfed7cec4c14a8)
Cédric Ollivier [Sun, 23 Sep 2018 11:44:58 +0000 (13:44 +0200)]
Update tempest_full result
It's now passing in Orange Openlab.
Change-Id: I487f426346af0ea706da1f38302eae7603b9d477
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
c3dcb96a8b94d7114fa7f25e936015b111f044a0)
Cédric Ollivier [Sun, 23 Sep 2018 09:25:26 +0000 (11:25 +0200)]
Protect vs former OS env vars
rally_jobs is failing vs APEX which still sets OS_TENANT [1].
[1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/324/console
Change-Id: I672bfa93b37b1b773ea7d20fdd91bea0ff14b79f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
83e0e6836d7f5e18eb4eb8c9d28b4e6980b790c2)
Cédric Ollivier [Sun, 23 Sep 2018 09:13:18 +0000 (11:13 +0200)]
List default secgroup via orig user
Else the generated account can be already removed [1].
[1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/324/console
Change-Id: I93d88763cdc67cd38286c24ad830244e0c12e019
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 23 Sep 2018 04:58:14 +0000 (06:58 +0200)]
Fix typos in tempest.conf
It completes the previous change [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/62793/2
Change-Id: Ie4c4c5cb374f2bfac6397841f8ddc2cd3b2f524b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
98a4a863935be38f63e78550ddbcf4c1299bfdf1)
Cédric Ollivier [Sat, 22 Sep 2018 21:48:15 +0000 (23:48 +0200)]
Set default_domain_id in tempest.conf
It allows verifying via non-default domain.
Change-Id: I95ae26fd3bfd1c10421c02d2b4f6e8a9b6aa49e6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
11d28aaf2e726859b59b7511d64dc4dd4b422e1e)
Cédric Ollivier [Sat, 22 Sep 2018 19:35:04 +0000 (21:35 +0200)]
Set admin_domain_scope to True (tempest)
It completes the previous commit [1].
It also sets cidr and fully forces Keystone v3.
[1] https://gerrit.opnfv.org/gerrit/#/c/62777/
Change-Id: Ida948a4ff051dc1d1325d29a815c201366a1e33e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
f4b545efe2339bdb5f6117d484e127adda5c8021)
Cédric Ollivier [Sat, 22 Sep 2018 17:52:15 +0000 (19:52 +0200)]
List all sheduler filters instead of all
It doesn't work as expected as highlighted in [1].
[1] https://review.openstack.org/#/c/570207/
Change-Id: Iaf64345c40e8d62349cd50a6861c1191d25c40b9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
ecc7bc215cdf47104d61ba7e23e5f8ec65ca03c4)
Cédric Ollivier [Sat, 22 Sep 2018 14:07:47 +0000 (16:07 +0200)]
Clean the default security group
It's not removed when deleting the users and the projects.
Change-Id: Ib5de0885dcbfb558a48cdd20ae3ccc47b7f23748
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
d4e60af2b8f544d774223b16c193dc40bd5dce38)
Cédric Ollivier [Sat, 22 Sep 2018 12:09:43 +0000 (14:09 +0200)]
Grant new tempest user as admin in domain too
It seems mandatory for test_list_projects_returns_only_authorized_projects
Change-Id: Id994e66b088d751c4f6d7f260f8e482c2ee83307
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
17e87d5af713bb07759c4b2af0c2b40077343a32)
Cédric Ollivier [Sat, 22 Sep 2018 08:49:14 +0000 (10:49 +0200)]
Stop creating network resources in tempest
fixed_network_name is not used in neutron or nova gates [1].
It may bypass juju bug (subnet discovery).
[1] http://logs.openstack.org/46/603046/1/check/tempest-full/
a8468a1/controller/logs/tempest_conf.txt
Change-Id: I820e8c723918ed683ed1f8016363eb70bad0d14a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
ac31a32320122ea1683fe9884e5bf1f969678b03)
Cédric Ollivier [Sat, 22 Sep 2018 07:28:43 +0000 (09:28 +0200)]
Update results in configguide (rally_jobs)
Change-Id: Ib00d0341ee56f6009e9346bff6f3fec51590950a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
7236c6b9173550ecb8419eccfd053e7b44b2d379)
Cédric Ollivier [Fri, 21 Sep 2018 15:25:44 +0000 (17:25 +0200)]
Remove rally plugins and extra when cleaning
Change-Id: I15393b870d648432c900d429d17129c630ed4f58
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
aff6640b5aed37221a05067e93ee164273c16910)
Cédric Ollivier [Thu, 20 Sep 2018 11:39:56 +0000 (13:39 +0200)]
Allow overriding default storage protocol
It adds a new env var STORAGE_PROTOCOL to override storage_protocol
in tempest. The default value is unchanged [1].
[1] https://docs.openstack.org/tempest/latest/sampleconf.html
Co-Authored-By: Viktor Tikkanen <viktor.tikkanen@nokia.com>
Change-Id: I19e4e25212b6f6176e3b967e01eb634c15e4d474
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
a561c6ca316feb1a203327aa729ac0317f70df48)
Juha Kosonen [Thu, 20 Sep 2018 07:32:02 +0000 (07:32 +0000)]
Merge "Set scheduler_available_filters to all" into stable/gambia
Cédric Ollivier [Thu, 20 Sep 2018 06:32:09 +0000 (08:32 +0200)]
Set scheduler_available_filters to all
It indicates all filters that are included with nova are enabled [1].
[1] https://docs.openstack.org/tempest/latest/sampleconf.html
Co-Authored-By: Viktor Tikkanen <viktor.tikkanen@nokia.com>
Change-Id: I0d1943941d62d2eee418200c69e8198cd858383e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
ff2ba1fd18b05bf1b031e78d2589028968bbe906)
Juha Kosonen [Thu, 6 Sep 2018 09:03:42 +0000 (12:03 +0300)]
Add support for Rally OpenStack CI test cases
Include Neutron rally-jobs.
Change-Id: Ic1122962bd7d876d179729640a8a321bc36442d8
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit
5d54a533d25a989dc64a2789788ff2f2fd6ad5c6)
Thierry ALLENO [Mon, 17 Sep 2018 13:55:10 +0000 (15:55 +0200)]
Modify creation of SecGroup Rule for SSH
There is multiple "default" security groups, when user is created
with admin role.
Change-Id: I7555dc9461816dfdaaee36d82d712e25b4b65da7
Signed-off-by: Thierry ALLENO <thierry.alleno@orange.com>
(cherry picked from commit
7488f119f9d9c61c61ef55d53f87de0e671fed23)
Thierry ALLENO [Mon, 17 Sep 2018 13:10:18 +0000 (15:10 +0200)]
Correct proxy configuration for VNF VM
The configuration of proxy for apt is missing in ubuntu images.
Line Feed is missing in cloudify conf files.
Change-Id: I3237b914e993c57f4fe3ed568690d2d9a41c0bdf
Signed-off-by: Thierry ALLENO <thierry.alleno@orange.com>
(cherry picked from commit
be864b0de9f0f990984ad9e3c2d20b694e1b2c26)
Cédric Ollivier [Sun, 16 Sep 2018 10:46:16 +0000 (12:46 +0200)]
Fix branch in ci/globals.yaml
Change-Id: Ide63c601b50ec2f6f02ef2682035b937ca2a1662
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Michael Polenchuk [Fri, 14 Sep 2018 07:02:14 +0000 (11:02 +0400)]
Update snaps commit id
In order to get fix for ovs/dpdk based scenarios vs snaps_smoke suite.
Change-Id: Ib815d96968daa13ae186e2dd6ae0a7686347bb13
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit
10c28973e21e9074e2ea81458504aba753de439b)
Cédric Ollivier [Thu, 6 Sep 2018 19:12:00 +0000 (21:12 +0200)]
Update Release Notes
Change-Id: I51fd66dc73bb5f0628454eabbd629a6fbda3666d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 13 Sep 2018 14:02:47 +0000 (16:02 +0200)]
Fix typo
This line should have been deleted by the previous commit.
Change-Id: I18eb2dcc3c6124127c2bba2c9ec6e524caae8b09
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 13 Sep 2018 12:54:29 +0000 (14:54 +0200)]
Remove former logics
It's now useless as Functest is synced with OpenStack master.
Change-Id: Ic571f77fb30bc4ef3f70f07a6e411ca5e4f8b2f1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 13 Sep 2018 09:39:36 +0000 (11:39 +0200)]
Remove former logic for tempest
It's now useless as Functest master conform with OpenStack master.
Change-Id: Ibb08d40a721a9fa114967c6a504804b641b4a881
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 13 Sep 2018 09:20:02 +0000 (11:20 +0200)]
Prepare gambia Docker tags
Change-Id: I409975acd1493e2f5a6bdcb3a4bd6ff6e383e02e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 13 Sep 2018 07:14:04 +0000 (09:14 +0200)]
Updated from global requirements
Change-Id: Id9709fbffb0f66b1e180ce28bf7eed6397e014a6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 13 Sep 2018 05:46:05 +0000 (07:46 +0200)]
Update .gitreview
Change-Id: I242e40ffe6fb138b0c5a136fa46ee6d89ec0cde6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 10 Sep 2018 04:12:44 +0000 (06:12 +0200)]
Ease adding proxies in vms
It eases running VNFs behind proxies as they download packages.
Change-Id: I187078dab744c51188b9835417d1a29fad1b4bd6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 10 Sep 2018 13:10:33 +0000 (15:10 +0200)]
Fix godeps commit id
Change-Id: I7af07849fb70ef53f293002f313035b46731b705
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>