Commit Graph

63 Commits

Author SHA1 Message Date
Zuul 051d95b377 Merge "[codespell] doc,devstack and gate typos" 2023-12-11 17:44:04 +00:00
Zuul 16d4e1d455 Merge "disable ovn based testing of test_live_migration_with_trunk" 2023-10-29 21:06:30 +00:00
Dan Smith 82f4da91ab Compile mdev samples for nova-next
Change-Id: If44964f2b99ee0482600ec31e85ea1d4caeea1b3
2023-10-12 08:57:35 -07:00
Sean Mooney 25fd9effd2 [codespell] doc,devstack and gate typos
Change-Id: I919e24a1b4dea394d35b845d44cddee9c762b268
2023-10-03 01:32:42 +01:00
Sean Mooney c290a6ed75 disable ovn based testing of test_live_migration_with_trunk
due to bug #1940425 where ml2/ovn is not correctly configuring the
active status on trunk port we see test_live_migration_with_trunk
fail more often then not.

This was previously disbaled in tempest and then fixed in neutorn.
the tempest skip was then reverted and so was the neutron fix as
it broke somethign else... so this is failing in our gate again.

This change skips test_live_migration_with_trunk on all jobs that
are using ml2/ovn but keeps it enabled on the hybrid plug job
which uses ml2/ovs.

Related-Bug: #1940425
Change-Id: I0a8dd6e6e30526aa2841b4db67ed9affed166fd8
2023-09-18 13:49:59 +01:00
Balazs Gibizer 1bc1b599df Skip UnshelveToHostMultiNodesTest in nova-multi-cell
The I303a28afe69d5d17261a07fd45c4fa92bbad5598 added tempest test coverage
for the new unshelve-to-host nova feature. However the test fails in the
multi cell job as it tries to unshelve the instance to another cell
which is clearly not supported.

So this patch skips the unshelve to host test cases to unblock the gate.

Related-Bug: #1988316
Change-Id: I50c08a5dcffbf7c31bf02bdfb8615966f9271791
2022-08-31 16:52:21 +02:00
Ghanshyam Mann 9d285e0bb4 Switch to new rolevar for run-tempest role
Tempest replaced the below rolevar for run-tempest role
- tempest_test_blacklist is replaced by tempest_test_exclude_list
- tempest_black_regex is replaced by tempest_exclude_regex

old name are still supported for compatiblity but we recommend
to switch to new one.

Change-Id: I4f2d01a4cf443f9c539158e77032cd3d8ce24ad7
2021-04-09 16:06:10 +00:00
Alexandre Arents 9a0bc6e9cf Revert "nova-multi-cell: Skip test_cold_migrate_unshelved_instance"
This reverts commit c11f4e5336.

Test should work since change:
    I0b81282eba8238d8b64a67e38cf9d6392de1f85c

Conflicts:
        devstack/nova-multi-cell-blacklist.txt

NOTE(aarents): the confict is due to change
I95bc22f7d65454cd9e7b54a0e6d9516f2f204978
Disable qos resize tempest test for nova-multi-cell job

Change-Id: Ib953470cf0ccddfec5f253097ddd7f7f0eaf4883
2020-12-17 10:24:27 +00:00
Balazs Gibizer 048250a4b7 Disable qos resize tempest test for nova-multi-cell job
It turned out that during the qos resize work we did not implemented
support of cross cell resize with qos ports. Tempest test coverage for
the resize and migrate is landed recently that made the nova-multi-cell
job to fail.

So this patch disables the qos resize and migrate tempest tests for the
nova-multi-cell job to unblock the gate.

Related-Bug: #1907522

[1] I8c573c4a11a76932057d8415d76114a03269b9f3

Change-Id: I95bc22f7d65454cd9e7b54a0e6d9516f2f204978
2020-12-10 14:51:19 +01:00
Lee Yarwood c11f4e5336 nova-multi-cell: Skip test_cold_migrate_unshelved_instance
Change-Id: I494bf6b10ffb2f54ac4d6079760b44178d82b3fd
Related-Bug: #1906428
2020-12-02 14:05:53 +00:00
Zuul 33d3c74229 Merge "Find instance in another cell during floating IP re-association" 2019-09-13 15:19:55 +00:00
Matt Riedemann 481cb5ce04 Find instance in another cell during floating IP re-association
When associating a floating IP to instance A but it was already
associated with instance B, we try to refresh the info cache on
instance B. The problem is the context is targeted to the cell
for instance A and instance B might be in another cell, so we'll
get an InstanceNotFound error trying to lookup instance B.

This change tries to find the instance in another cell using its
instance mapping, and makes the code a bit more graceful if
instance B is deleted.

Change-Id: I71790afd0784d98050ccd7cc0e046321da249cbe
Closes-Bug: #1826472
2019-09-06 16:09:23 +00:00
Matt Riedemann 35d8f93645 Convert nova-lvm job to zuul v3
Converts the job to zuul v3 native format so the legacy
playbook is deleted.

Drops the blacklist regex file in favor of simply configuring
tempest to not run resize or cold migration tests.

Change-Id: I4630066731f12c42091ddf9dd3159e0494df88b1
2019-08-02 13:08:50 -04:00
Zuul 9e9c498ea2 Merge "Add nova-multi-cell job" 2019-04-30 21:18:42 +00:00
Matt Riedemann d2e58cb490 Add nova-multi-cell job
This adds a non-voting nova-multi-cell job which
is a 2-node job with 2 non-cell0 cells (cell1 and cell2).
The compute on the controller will be in cell1 and the
subnode compute will be in cell2.

Until cross-cell resize is supported, cold migration
has to be disabled since we can't cold migrate to
the same host (and there is only one compute host per
cell). As a result, resize to the same host is enabled
(it is normally disabled in the tempest multinode job).
The parent job enables live migration testing but since
we only have one host per cell and don't support live
migration across cells, the live migration tests are
also disabled.

The job is also setup to run with python3 since that
is the way of the future.

Non-essential services, like cinder-backup, are disabled
since we (1) won't need it for the tests we run and
(2) would like to save as much room on the hosts as possible
since we're running multiple cell conductors on the
controller host.

Since this is new and its already uncovered at least one
bug (bug 1826472), the job is non-voting in the check queue
for now until we're happy with its stability.

Related to blueprint cross-cell-resize

Change-Id: I8ad3f8bcbecf0f6b1d0f57e9f61ff21bd7fbe365
2019-04-29 17:10:51 -04:00
ZhongShengping 7ecaa3fcf8 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.

Change-Id: I3e0af55e0707f04428a422b973d016ad30c82a12
2019-04-24 13:59:57 +08:00
Zuul 8728581b1c Merge "Remove cells v1 jobs" 2019-04-15 20:16:15 +00:00
Stephen Finucane 7c7798ad52 Remove cells v1 jobs
We're going to start ripping out cells v1. First step is removing the
tests for this soon-to-be-removed feature.

Part of blueprint remove-cells-v1

Change-Id: I2031bf2cc914d134e5ed61156d2cfc621f006e0b
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2019-04-09 17:15:37 +01:00
Stephen Finucane 4d00320ea6 devstack: Remove 'tempest-dsvm-tempest-xen-rc'
This doesn't appear to be used by any job, in-tree or out-of-tree.
Remove it.

Change-Id: Iee89cf53069224fa24530c084639cb7788f8d284
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2019-04-04 15:15:00 +01:00
Matt Riedemann 25dadb94db Remove the CachingScheduler
The CachingScheduler has been deprecated since Pike [1].
It does not use the placement service and as more of nova
relies on placement for managing resource allocations,
maintaining compabitility for the CachingScheduler is
exorbitant.

The release note in this change goes into much more detail
about why the FilterScheduler + Placement should be a
sufficient replacement for the original justification
for the CachingScheduler along with details on how to migrate
from the CachingScheduler to the FilterScheduler.

Since the [scheduler]/driver configuration option does allow
loading out-of-tree drivers and the scheduler driver interface
does have the USES_ALLOCATION_CANDIDATES variable, it is
possible that there are drivers being used which are also not
using the placement service. The release note also explains this
but warns against it. However, as a result some existing
functional tests, which were using the CachingScheduler, are
updated to still test scheduling without allocations being
created in the placement service.

Over time we will likely remove the USES_ALLOCATION_CANDIDATES
variable in the scheduler driver interface along with the
compatibility code associated with it, but that is left for
a later change.

[1] Ia7ff98ff28b7265058845e46b277317a2bfc96d2

Change-Id: I1832da2190be5ef2b04953938860a56a43e8cddf
2018-10-18 17:55:36 -04:00
Matt Riedemann c9589ed950 Skip test_resize_server_revert_with_volume_attached in nova-lvm
The libvirt driver doesn't support resize for lvm-backed instances
so we need to skip this test to get the nova-lvm job to pass again.

Change-Id: Id752b539babadd187b4c999039cc4ca655437d47
Closes-Bug: #1782607
2018-07-19 12:22:18 -04:00
Zuul 6ee633a971 Merge "Skip more rebuild tests for cells v1 job" 2018-07-15 15:17:21 +00:00
Matt Riedemann 4a1b08365c Skip more rebuild tests for cells v1 job
This skips a couple more tempest rebuild tests for
latent intermittent rebuild race failures
due to status sync delays with cells v1.

Change-Id: Ib2dcbba7f447f54c36877a4e7c29d1b6839a0a80
Related-Bug: #1709985
2018-07-13 15:53:11 +00:00
Zuul 4dbf0a8d50 Merge "Skip ServerShowV247Test.test_update_rebuild_list_server in nova-cells-v1 job" 2018-06-29 02:44:42 +00:00
Matt Riedemann aa67211acb Make nova-lvm run in check on libvirt changes and compute API tests
This changes the nova-lvm job to run in the check queue on libvirt
driver changes only, and only runs the tempest compute API tests
to save time since we don't need to run things like the cinder,
glance, neutron etc API tests.

Once we're comfortable with the stability of this job we can
make it voting and gating.

This is in response to bug 1771700 which could have been prevented
if we were gating on the nova-lvm job on libvirt changes.

Change-Id: Ieaf00bcb6cb885e544d05b6f7276b6470b123258
Related-Bug: #1771700
2018-06-27 21:28:15 +00:00
Matt Riedemann 3780335b5b Skip ServerShowV247Test.test_update_rebuild_list_server in nova-cells-v1 job
Another rebuild test that intermittently fails the cells v1
job because of latent races with status changes in cells v1.

Change-Id: Ic422a5d7ac795e6e6882f1f0ad82022a7bd42229
Related-Bug: #1709985
2018-06-26 11:02:07 -04:00
Matt Riedemann 530c24596a Skip ServerShowV263Test.test_show_update_rebuild_list_server for cellsv1
Tempest change I48f62d36a871a95601ebf277a2f39a41a873daa8 added
a new rebuild test for microversion 2.63 so we need to exclude that
test also for cells v1 since rebuild is racy in cells v1.

Change-Id: Iff89b9714e2413716bf87db6f0d773787c06eda3
Related-Bug: #1777478
2018-06-18 12:12:07 -04:00
Matt Riedemann 771a736818 Skip ServerShowV254Test.test_rebuild_server in cells v1 job
This adds yet another rebuild test to the blacklist for the
cells v1 job. Rebuild status updates are racy in the cells v1
job because of the async status updates.

Change-Id: I42f08ee2a7282c9cad761bbe0daa111e79678791
Related-Bug: #1709985
2018-05-30 20:18:31 +00:00
Matt Riedemann 927b6ccced Skip ServerActionsTestJSON.test_rebuild_server for cells v1 job
This is another occurrence of a rebuild test randomly timing out
waiting for status changes in the cells v1 job, so blacklist it.
Cells v1 is deprecated and should be gone soon anyway, so we don't
need to waste time hitting stuff like this.

Change-Id: Icb1d33c6e602467e21efe4838cb6edbadab14834
Related-Bug: #1709985
2018-05-09 11:17:28 -04:00
Matt Riedemann 0cfe925dc3 Cleanup tempest-dsvm-cells-rc blacklist
Now that the nova-cells-v1 job is running with neutron
we can remove several explicit blacklist entries for things
that wouldn't work with nova-network and cells v1.

To be clear, these tests won't be added back for nova-cells-v1,
it's just that with the configuration on that job the skips
are handled via config in tempest rather than our blacklist rc
file, which is cleaner.

Depends-On: https://review.openstack.org/549785/
Change-Id: Ib61f159056d229ad190d3f3b61e6d7e3eb6d067f
2018-03-15 09:31:24 -04:00
Zuul 489a8f5bf3 Merge "Add a nova-caching-scheduler job to the experimental queue" 2018-03-07 14:55:55 +00:00
Matt Riedemann 0c9225bece Add a nova-caching-scheduler job to the experimental queue
This adds an experimental queue job to run non-slow tempest
API and scenario tests using the CachingScheduler as the
scheduler driver.

A blacklist is added since there are a few tests that rely on
filters which don't work well with the CachingScheduler.

The CachingScheduler is deprecated, but this is useful to have
when we're making changes to the scheduler or flows within the
code that involve the scheduler, such as the alternate hosts
work.

Change-Id: I8630ea11c3067ed934de2ef27a63432418e98c33
2018-02-16 16:37:09 +00:00
Matt Riedemann e88688db5e Remove unused tempest-dsvm-lxc-rc
This is no longer used since I94e2898914accea0e973db3788370d70402e75a7.

Change-Id: I3206103a861e38c69c472d41b243f947c5910b0f
2018-01-30 11:18:19 -05:00
Matt Riedemann f1317c016c Blacklist test_extend_attached_volume from cells v1 job
The cells API doesn't route the os-server-external-events API
and this test relies on that working, so we have to blacklist it.

Change-Id: I92e316cb9cfa5d47c415ba06edf45d7de68677f4
Closes-Bug: #1721644
2017-10-05 17:31:05 -04:00
Matt Riedemann 16e874180e Skip more racy rebuild failing tests with cells v1
These are other rebuild tests that randomly fail the
cells v1 job waiting for state changes due to VIF
races.

Since cells v1 is deprecated, let's just skip this.

Change-Id: Ia00015a8cbb930efd274830b69f296a257578700
Related-Bug: #1709985
2017-09-05 12:08:01 -04:00
Matt Riedemann 9e2a0163d3 Skip test_rebuild_server_in_error_state for cells v1
This test randomly fails due to a timeout in cells v1
jobs and is a latent issue. Since cells v1 is deprecated
and we aren't fixing latent bugs, let's just skip this.

Change-Id: I386df03f406dd0f1847a0d091e070df7786f616e
Related-Bug: #1709985
2017-08-11 12:42:29 -04:00
Anthony PERARD e44ea07c4d Skip boot from encrypted volume on Xen+libvirt
The Xen toolstack is trying to locate the kernel by running pygrub on
the host (as opposed to in guest) on the disk image, this fails for
encrypted volume.

Skip the Tempest test until this is resolved.

Change-Id: I173ac0ae8ebfb249d75a29e425e90c8928c3da40
Related-Bug: 1702897
2017-07-11 14:32:35 +01:00
Matt Riedemann 0cd67d23bd Don't run ssh validation in cells v1 job
I187e560911f5d5d482eb7959e5174068c4c9a801 enabled
ssh validation by default which uses floating IPs
by default, which isn't support with cells v1.

Since cells v1 is on life support we're going to
just disable ssh validation in this job.

Change-Id: I33f827cf76c7d99a599f9c0c509453cf2af6c2a6
Closes-Bug: #1693949
2017-05-26 20:18:09 -04:00
Anthony PERARD 782d2ce9fe Add exclusion list for tempest for a libvirt+xen job
https://xenbits.xen.org/gitweb/?p=openstack/ci-loop-config.git;a=commit;h=72110826f843cfd1b6b55eba5c4f41b6295ca892

Change-Id: I170647d41e6985ff01b1a42fbdc4b1bd8f577ef7
2017-03-27 17:33:37 +01:00
Matt Riedemann d125358398 Skip test_stamp_pattern in cells v1 job
test_stamp_pattern was recently unskipped:

I2c13099595d8ee8099e02e3f06096078c7d27c34

It uses security groups which cells v1 does
not support, so we have to skip this test in
the cells v1 job.

Change-Id: Id7e8351026ca86694fc9814002b96260f6ba10f9
Closes-Bug: #1664607
2017-02-14 10:25:24 -05:00
Matt Riedemann 0bffed5119 Add RC file for excluding tempest tests for LVM job
Similar to the RC files for excluding tests in the cells v1
and lxc jobs, this is for an LVM job that's being created.

This list was tested in this change:

Ic511246b36df776c242f0dbf86fe0f6e79ef9e0a

Related to blueprint libvirt-instance-storage

Change-Id: I90cb85a503f95741b8e4f4f2147798d9414ce4ea
2016-05-17 10:25:45 -04:00
Matt Riedemann 696ed21c53 Rely on devstack to skip rescue tests for cells v1
Tempest has a feature toggle for rescue tests which
devstack now disables for cells v1 testing, so we
can remove the regex for the rescue tests in our
blacklist file.

Change-Id: Iab0616d1b13f6a08cbc6131d2b1a182fa720f21a
Depends-On: I234f778c9d264ee2e5fe6050ca6b33283be464f7
2016-04-05 10:39:04 -04:00
Chuck Carmack b113cb13e9 Change the nova tempest blacklist to use to idempotent ids
Currently, nova blacklists tests by name.  If a name changes,
the regex will not match, and the test will be attempted.
If the test idempotent ids are used instead, the test
will always be skipped.

Change-Id: Iaf189c42c342b4c2d7c77555980ed49914210bf6
Related-bug: 1562323
Closes-bug: 1562945
2016-04-04 20:02:45 +00:00
Matt Riedemann e86b7fbb99 Update cells blacklist regex for test_server_basic_ops
Tempest change 9bee3b92f1559cb604c8bd74dcca57805a85a97a
renamed a test in our blacklist so update the filter to
handle the old and new name.

The Tempest team is hesitant to revert the change so we
should handle it ourselves and eventually move to using
test uuids for our blacklist, but there might need to
be work in devstack-gate for that first.

Change-Id: Ibab3958044c21568d7fbbe0a298bb40bbbc20df3
Closes-Bug: #1562323
2016-03-27 19:31:32 -04:00
Matt Riedemann 83c1fa6c03 Enable rebuild tests in cellsv1 job
Change 022802997c fixed evacuate/rebuild
in the cells API so enable the rebuild-related tests we were skipping
before.

Related-Bug: #1445629
Related-Bug: #1445631
Related-Bug: #1552046

Change-Id: I15f867d8c6ff280bc68a6abf8b0da6e970c2bb39
2016-03-04 19:58:57 +00:00
Matt Riedemann 0001dc2112 Revert "Add new test_rebuild_instance_with_volume to cells exclude list"
This reverts commit 674531df15

The test was breaking more than cells, it was breaking all
shared-storage backend jobs, like ceph, so it was reverted
here:

bbeab27ab8f05ad1287907222fb6b02990021885

Since the test no longer exists, we can remove it from the
blacklist.

Change-Id: Iee028a56f6a27d97011f26966b3584770d5287db
2016-02-10 21:07:22 +00:00
Matthew Treinish 674531df15 Add new test_rebuild_instance_with_volume to cells exclude list
This commit adds a newly added tempest test to the cells exclude list.
The test is always failing on cells and it's because it's doing
operations that don't work with cells turned on. So lets exclude it
for now. Ideally all this skip logic will be in the tempest config and
we don't have to do this anymore.

Closes-Bug: #1543253
Change-Id: Ic9db51a41f95b0d18f97745a0da7e99fdfa21e51
2016-02-08 19:10:52 +00:00
dimtruck 6084711785 (lxc) Updated regex to ignore failing tests
This patch is intended to get the LXC experimental gate job
passing consistently and at least get some reliable and
regular testing of the LXC Nova capabilities.

The skipped tests pass with 3.13.0-58-generic and current
kernel HEAD, however, they do not pass with 3.13.0-76-generic
that is used for our gate testing.

Related-Bug: #1536280

Change-Id: I422094e49c498368f6eec16207379139fdc2936a
2016-01-22 15:25:53 +00:00
Jenkins baa58e3bf0 Merge "Remove skips for resize tests from tempest-dsvm-cells-rc" 2015-12-01 06:33:22 +00:00
Jenkins f680989dd7 Merge "cells: skip 5 networking scenario tests that use floating IPs" 2015-11-25 11:48:09 +00:00