Commit Graph

56 Commits

Author SHA1 Message Date
Goutham Pacha Ravi 660355eb86 Zuulv3 native grenade job
The existing "manila-grenade" job relies on
devstack-gate, a deprecated project. The Grenade
project now has a native zuulv3 style job that
we can inherit and run manila's upgrade tests.

Manila's grenade tests are only going to run
API tests, and hence this grenade job doesn't
have to enable nova, cinder, glance, neutron
and swift. However, bug #1887835 prevents
us from disabling nova at the moment,
and nova requires glance, placement and neutron
to be deployed, so we'll be enabling these
services too until that bug is addressed.

Depends-On: Id5a9467247df1d8f0ec6dee3fae842ba673c34ed
Depends-On: Ieaf37ec10db9a8bdce6bb195b76335fea9b2b52f
Change-Id: I1636c612ac2475f7a00c0888ef62daa6c516eef2
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-07-28 01:07:00 +00:00
Goutham Pacha Ravi a6712795fb [CI] Remove unused jobs
manila-tempest-minimal-py35-dsvm-cephfs-native-centos-7
and
manila-tempest-minimal-py35-dsvm-cephfs-nfs-centos-7

have been unused for a long time, and they are not
used anywhere in any repository. So lets get rid of
them.

Change-Id: I51647efa12cee6c428bfd299d6b047174e1316ef
2020-04-28 22:56:39 -07:00
OpenStack Release Bot f6bc6786cf Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I650b16c7d6446d6299d32f1c0af78129998de25b
2020-04-23 19:17:22 +00:00
Goutham Pacha Ravi 14d081acf6 [CI] Stop gating with manila-tempest-minimal-dsvm-lvm
The job manila-tempest-minimal-dsvm-lvm is functionally
identical to manila-tempest-minimal-dsvm-lvm-ipv6-only.
Semantically, the only difference being that the service
host, and in turn the endpoint base for manila, and the
communication address for rabbitmq, mysql and other infra
services.

manila-tempest-minimal-dsvm-lvm-ipv6-only
has MANILA_SERVICE_HOST set to an IPv6 address,
for example:
MANILA_SERVICE_HOST='[::1]'
MANILA_ENDPOINT_BASE='http://[::1]:8786'

manila-tempest-minimal-dsvm-lvm has MANILA_SERVICE_HOST
set to an IPv4 address, for example:
MANILA_SERVICE_HOST='23.253.236.222'
MANILA_ENDPOINT_BASE='http://23.253.236.222:8786'

So lets drop the job enforcing IPv4 service host since
we have coverage for that scenario in other jobs that
we're running, including the voting
manila-tempest-minimal-dsvm-dummy job.

I'd like to backport this change to stable/train
during which this job was duplicated to cover the scenario
of doing "ipv6-only" service host testing [1]

[1] https://review.opendev.org/#/c/682716/

Change-Id: I51dc25889c1d1fb361f0be6f8c0aa47ca64c9aaa
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-04-10 13:21:15 -07:00
Goutham Pacha Ravi cb01633380 [ci] Stop requiring neutron-tempest-plugin
We needed this plugin because neutron-dynamic-plugin's
code base included its tempest plugin in-tree. This
issue was addressed in https://review.opendev.org/#/c/695014/.

So we no longer need to install neutron-tempest-plugin
in manila jobs.

Change-Id: I34b77c95aad7ee2b67ba876db8aa64bbc44adb79
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-03-24 13:50:53 -07:00
Goutham Pacha Ravi cb95b6f6f5 [ussuri][goal] Drop python2.7 support
As per the official python support timeline
set forth by the OpenStack TC [1][2], OpenStack
Train (in our case, manila 9.x) is the last
release that will support python2.7.

[1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I5b4dc1853d7e4f8f736dd2a22eb08bcfdeac3411
2019-12-08 19:32:52 -08:00
Woohyung Han 37575eda43 Enable glusterfs-native ci
Depends-On: https://review.opendev.org/#/c/687222/
Depends-On: https://review.opendev.org/#/c/687318/
Change-Id: I527d2b2a220e3ec21cd6a423a4ff7876f3ee3b33
2019-10-09 18:26:12 +09:00
Ghanshyam Mann d96666214b [train][goal] Define new manila-tempest-minimal-lvm-ipv6-only job
As part of Train community goal 'Support IPv6-Only Deployments and Testing'[1],
we need to define the integration job which deploy services
on IPv6 and perform testing to make sure service listen and communicate
over IPv6 properly.

Manila has legacy zuul jobs only so base zuulv3 IPv6 job 'devstack-ipv6' and
'devstack-tempest-ipv6' cannot be used and we have to copy the whole
run.yaml to set the IPv6 setting and run the IPv6 verification
script via post_test_hook.

This commit adds the new job 'manila-tempest-minimal-lvm-ipv6-only'
run on gate and set the required IPv6 setting'.

Story: #2005477
Task: #35903

[1] https://governance.openstack.org/tc/goals/train/ipv6-support-and-testing.html

Change-Id: I761b2f244a257e86c3032e0b33aa2600c1d9d2a3
2019-09-20 01:44:34 +00:00
Zuul 3e25878668 Merge "[CI] Convert rally jobs to zuulv3 native" 2019-08-14 05:53:15 +00:00
whhan91 4aa0945c1d [CI] Enable glusterfs-nfs ci
- Change post_test_hook in the gluster CI takes arguments
- Enable glusterfs-nfs CI

Depends-On: https://review.opendev.org/#/c/674738/
Change-Id: If6d233ffd658cd75599eec36eb8027f35771e224
2019-08-08 23:03:46 +00:00
Goutham Pacha Ravi 8cb70952e3 [CI] Convert rally jobs to zuulv3 native
The old/legacy job depends on components
from OpenStack infra that are not maintained
any longer.

Depends-On: I6b1d0e97ecdf9a2befa2a052a1743916d662d136
Change-Id: I143b78a8abf7ce714a574adef1698affd5956b1b
2019-07-30 14:54:45 -07:00
Zuul cec13b8057 Merge "add IPv6 support for CephFS/NFS back end" 2019-07-25 18:59:20 +00:00
Tom Barron cbe7056832 Run tempest jobs under python3
Add py2 dummy jobs to keep some python 2 coverage through the
Train release, but convert all the other tempest jobs to python 3.

Change-Id: Ia5fd26c30c6aaeb97ae1b524c5fd58b890fdb054
2019-07-24 08:43:48 -04:00
Tom Barron 9be39cbef2 add IPv6 support for CephFS/NFS back end
Change-Id: Id2b4edfa02521f9c9d9c27635e9f4945af79a0b7
2019-07-22 17:13:13 -04:00
Corey Bryant a231100d2c Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: Ibf4e7a4075f7375138a59462cab132f64d874dbc
Story: #2005924
Task: #34220
2019-07-10 13:21:56 -04:00
OpenDev Sysadmins 8790c293e1 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:27:35 +00:00
Zuul d9026c7183 Merge "Use legacy base to run CI/CD on Bionic" 2019-03-14 16:04:02 +00:00
Tom Barron e5e336f834 Use legacy base to run CI/CD on Bionic
legacy-dsvm-base now [1] runs with bionic nodeset so use it
directly instead of overriding locally to use bionic.

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

Change-Id: I2a136f84e7d5d5be8a23830c0b334dc609092004
2019-03-14 10:53:48 +00:00
Tom Barron d262f531e2 Bump pylint job timeout
This job often times out so we set it here to 5400 seconds,
which matches the timeout that matches the same job in cinder.

Change-Id: Ia7eaef2d4fd9f9a3d95ccc82e80f343d1368da57
2019-03-12 13:09:36 +00:00
Tom Barron 86426a3eeb Move grenade job to bionic and run with python 3
Depends-On: https://review.openstack.org/630961
Change-Id: Ie3c609cba8b73640c4cea086bb2400b49209562e
2019-03-01 11:10:29 +00:00
Tom Barron 1471376131 Bump timeout on dsvm jobs
Many time out even when all tests are succeeding and
we will save more resources not having to recheck than by
keeping the timeout where it is.

Change-Id: I2a84e7a1340ccccb79170196b810aeda7d12914d
2019-02-12 05:52:30 -05:00
Quique Llorente fd5da8bef7 Add tripleo scenario004 job to experimental queu
Now that we have a all-in-one CI for tripleo called standalone we can
start to test that at manila in the experimental pipeline.

Change-Id: Ic94ce9698e4926c428ecf63e862df5a3a34b1889
2019-02-08 11:14:55 +00:00
Zuul 165e28ad84 Merge "Publish sample config file in the genconfig job" 2019-01-08 11:37:41 +00:00
Goutham Pacha Ravi 116becf381 Publish sample config file in the genconfig job
Add a post run to enable copying the sample file
generated to zuul logs.

Change-Id: Ifc1e71ce486ef9cefc07dbe9fb7c78ce150317bd
2019-01-04 04:01:51 +00:00
Tom Barron 859d5ed80d Add Ubuntu Bionic CephFS jobs
We need these for python3 support since the CentOS
jobs will not run correctly under python3.

Depends-on: https://review.openstack.org/#/c/627037/
Change-Id: I0e4baaaca5046f9c0ee32cf3de78133f743fd66d
2019-01-02 14:59:54 -06:00
Goutham Pacha Ravi 211b2b6394 [CI][LVM] Run the LVM job on Bionic Beaver
We switched to running the voting LVM driver job
from Ubuntu to CentOS because the "nfs-utils"
package on Ubuntu 16.04 lacked two bug-fixes [1][2]
required to test IPv6 exports. The kernel
package has been updated on Ubuntu 18.04 [3]
and the latest package has these fixes.

Switching back to Ubuntu will also help us
move faster towards our python3-first goal
since there are no plans to support python3
in the CentOS base repositories.

[1] http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=4663c6481c294838260840d234fec7dfd3186451
[2] http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=188354e57dd8476e66ce30d647180a106da29b88
[3] https://launchpad.net/nfs-utils/+packages

Depends-On: https://review.openstack.org/#/c/611199/
Depends-On: https://review.openstack.org/#/c/604929/
Depends-On: https://review.openstack.org/#/c/614802/
Change-Id: I8928f7ef87b0ec53a6a65f5d8964b2eee885056d
2018-11-19 22:29:20 +00:00
Goutham Pacha Ravi b1bf39412b [CI] Switch Xenial tempest jobs to Bionic Beaver
This change specifically ignores the grenade
job (manila-grenade), which is pending conversion
to zuulv3 because we need a way to set the default
python3 interpreter when running on Bionic Beaver.

Depends-On: https://review.openstack.org/#/c/605291/
Depends-On: https://review.openstack.org/#/c/605242/
Depends-On: https://review.openstack.org/#/c/605810/
Change-Id: Ic49d4ac5ac36dd3b3d909941434b2d2f104a10b9
2018-11-01 14:13:35 -07:00
Zuul 5153bcfd78 Merge "Change python3.5 job to python3.7 job on Stein+" 2018-10-16 00:04:57 +00:00
Goutham Pacha Ravi 5e1ddee8c1 Change python3.5 job to python3.7 job on Stein+
python3.5 was the only supported python3 version
on Xenial, now that we have Bionic Beaver nodes
that support python3.7, lets switch to testing
with python3.7 in addition with python3.6 in
Stein and beyond.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135632.html

Change-Id: Ia9868f39ff788e02850fae756820f7c1388bde0a
Depends-On: https://review.openstack.org/#/c/609832/
Story: #2004073
Task: #27427
2018-10-13 01:03:47 +00:00
Goutham Pacha Ravi a07c51e8b0 Make coverage non-voting and fix use of rpc_backend
rpc_backend was an old oslo_messaging option
that was deprecated in stable/newton and removed
in master/stein [2], so stop using it in our
unit tests.

The coverage job in manila was always non-voting,
however, a773e31420
added a common coverage job-template from the
openstack-zuul-jobs repository. This change
inadvertently made the non-voting cover job a
voting job.

Our coverage script isn't perfect, it is known
to fail erroneously on non-code changes, and
some genuine failures are just an indication
to developers and reviewers to make the best
effort to adhere to the script's strict
checks [3].

These changes are unrelated, but must be fixed
together to pass the gate, since we have a
chicken-and-egg problem with both failures
preventing separate fixes from merging
separately.

[1] https://review.openstack.org/#/c/317285/
[2] https://review.openstack.org/#/c/580910/
[3] http://git.openstack.org/cgit/openstack/manila/tree/tools/cover.sh

Closes-Bug: #1796759
Related-Bug: #1797512
Change-Id: Ie349c3866d51ea4e706369ad67bc1155f62f2651
2018-10-11 23:23:37 -07:00
Tom Barron fe3c1f5df3 remove glusterfs-nfs job from check queue
The job never passes, is unmaintained, and
wastes CI resources.

Change-Id: I05d7ee7f8ed01b98f2ec6cf629af1d5002b2cdbb
2018-10-08 07:08:28 -04:00
Tom Barron 772a64a871 Remove run_tests.sh
It is deprecated in favor of tox.

Closes-Bug: #1790470
Change-Id: If3b6a274dab0d035b9666b3b9876604cefbc2877
2018-10-04 09:55:45 -04:00
Zuul d95b20ff2b Merge "add python 3.6 unit test job" 2018-09-10 05:20:27 +00:00
Zuul 75457110eb Merge "Use templates for cover and lower-constraints" 2018-09-07 22:27:50 +00:00
Andreas Jaeger 750b907fd0 Remove install-guide-jobs
This job needs to stay in project-config, remove it again.

Change-Id: I2ee0256a06d9efed846ce971666c4f344d877c0c
2018-09-07 15:42:10 +02:00
Andreas Jaeger a773e31420 Use templates for cover and lower-constraints
Use openstack-tox-cover template, this runs the cover job
in the check queue only.

Use openstack-lower-constraints-jobs template.

Remove jobs that are part of the templates.

Change-Id: Ia9102cb55bc0093be7c654480084cddf0342b0ae
2018-09-07 15:41:05 +02:00
Goutham Pacha Ravi ee19e97e64 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I61388a08a8414a4c77652da2f326a10bfebdfd41
Story: #2002586
Task: #24309
2018-08-20 18:50:23 +00:00
Goutham Pacha Ravi 7ecfc72a24 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I293ac074601ab38836b7f86ac77e9f156956c6ab
Story: #2002586
Task: #24309
2018-08-20 18:50:19 +00:00
Goutham Pacha Ravi efa1e9d903 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ibc5dd2e7e6cb1922e9c34a6c0cf5ce8c7a8bf615
Story: #2002586
Task: #24309
2018-08-20 18:49:26 +00:00
Goutham Pacha Ravi 2d25b09b34 Fix grenade job
When upgrading from Queens to Rocky,
since neither release has the tempest plugin in-tree,
it has to be explicitly installed
in the job.

Closes-Bug: #1785370
Change-Id: I77b5e0eb8824a8a00633aacb45ebea07572503d5
2018-08-04 07:41:07 +00:00
Goutham Pacha Ravi f983b91181 Fix test plugin issues in dsvm-lvm-centos job
Require running the job with neutron-tempest-plugin
since neutron-dynamic-routing relies on it,
and does not specify it in its requirements.

Change-Id: Ic8e8033b77f82c3264270ba042a44177babaff9b
Closes-Bug: #1772077
2018-05-18 12:57:09 -07:00
Zuul c36c8a5e62 Merge "add lower-constraints job" 2018-03-25 04:30:40 +00:00
Doug Hellmann 03885b5675 add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I5f9a218429c1efc1fddae1945aef7110c4e031ee
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 15:14:44 -04:00
Rishabh Dave bda0b965d7 Add manila-tempest-plugin as a requirement in rally job definitions
Depends-On: I0844cdb48b9d415bd341c4687620412178be871b
Change-Id: I1336c8a4d11762cc355ce5a48899d62646563e28
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2018-03-22 10:37:55 +05:30
Zuul cca25d7b1d Merge "Remove the nonexistent install-guide directory" 2018-03-04 00:20:51 +00:00
Andreas Jaeger 616afc5395 Rename Zuul jobs
We have a global namespace in OpenStack CI for *all* jobs accross repos,
therefore jobs in-tree should started with the repo name.

Rename the jobs according to our conventions: Use manila as first
component, remove dsvm from renamed jobs. I left dsvm in the jobs that
are used in other repos, those can be renamed later.

For details, see
https://docs.openstack.org/infra/manual/drivers.html#consistent-naming-for-jobs-with-zuul-v3

Change-Id: Iefe8452e81131ce775668d08e1c9720194477ff3
2018-02-25 16:58:28 +01:00
junboli 2fb8777258 Remove the nonexistent install-guide directory
Since we have no install-guide directory, So remove thing related
to that.

Change-Id: Id946d4e55455e94ea3f1bc4697fd9e3a64b832a0
2018-02-24 10:45:01 +08:00
Andreas Jaeger cbe8ef893b Use native Zuul v3 tox job
Replace tox-genconfig legacy job with native Zuul v3 job.

Also, remove name from project stanza, this is not needed anymore.

Change-Id: Ic79f5a018faab4d0de6296808dd5e8621ea9d498
2018-01-25 12:06:19 +00:00
Rodrigo Barbieri dc93ae534c Update manila plugin to support IPv6
This patch makes necessary changes to devstack manila
plugin in order to be able to run IPv6 scenario tests.

Part of the changes included the dependency of
neutron-dynamic-routing plugin and the installation
of quagga, so routes in devstack host can be created
automatically for each router and private network
created by tempest during the tests.

Also, added a new config option "override_ip_for_nfs_access"
for manila tempest plugin that overrides the access rules used
for NFS scenario tests. This option can be set by exporting the
environment variable "OVERRIDE_IP_FOR_NFS_ACCESS" with the
intended value before running devstack.

This change is enabled by a following change and
tested alongside a change on manila-tempest-plugin
project.

Please note that we are temporarily disabling IPv6
functionality in Host-assisted Share Migration, as
the Data Service is not able to handle IPv4 + IPv6
scenarios.

Change-Id: I4ca727f92618998242af18908bbbda6bb5f86303
Needed-By: Id8b005cdd429d53a75624885fe7ca795746c3ede
2018-01-24 17:11:22 -02:00
Raissa Sarmento 797048c5ce Remove in-tree tempest plugin
Remove in-tree tempest plugin in favor of newly
created manila-tempest-plugin repository.

Change-Id: I1fb124598f38067fee469df124ee684f748c6f57
2017-12-22 11:11:38 +00:00