nova/nova/tests/functional/regressions
Zuul 17b7aa3926 Merge "[codespell] fix typos in tests" 2023-12-13 23:46:08 +00:00
..
README.rst add a place for functional test to block specific regressions 2016-02-24 18:14:27 +00:00
__init__.py add a place for functional test to block specific regressions 2016-02-24 18:14:27 +00:00
test_bug_1404867.py func: Add CinderFixture to _IntegratedTestBase 2020-08-03 20:41:18 +01:00
test_bug_1522536.py tests: Move remaining non-libvirt fixtures 2021-05-12 16:32:43 +01:00
test_bug_1541691.py tests: Move remaining non-libvirt fixtures 2021-05-12 16:32:43 +01:00
test_bug_1548980.py tests: Move remaining non-libvirt fixtures 2021-05-12 16:32:43 +01:00
test_bug_1552888.py tests: Move remaining non-libvirt fixtures 2021-05-12 16:32:43 +01:00
test_bug_1554631.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_bug_1558866.py tests: Move remaining non-libvirt fixtures 2021-05-12 16:32:43 +01:00
test_bug_1568208.py Fix generation of Guru Meditation Report 2016-04-13 17:00:32 +03:00
test_bug_1595962.py Have host look for CPU controller of cgroupsv2 location. 2023-05-03 15:03:07 -07:00
test_bug_1620248.py tests: Move remaining non-libvirt fixtures 2021-05-12 16:32:43 +01:00
test_bug_1628606.py [compute] always set instance.host in post_livemigration 2022-10-07 12:23:13 +00:00
test_bug_1669054.py api: extend evacuate instance to support target state 2023-01-31 18:16:00 +01:00
test_bug_1670627.py tests: Move remaining non-libvirt fixtures 2021-05-12 16:32:43 +01:00
test_bug_1671648.py scheduler: Remove 'USES_ALLOCATION_CANDIDATES' 2021-06-29 11:40:04 +01:00
test_bug_1675570.py fup: Move _wait_for_volume_attach into InstanceHelperMixin 2021-08-04 12:37:43 +01:00
test_bug_1678326.py functional: Rework '_delete_server' 2019-11-15 16:06:57 +00:00
test_bug_1679750.py tests: Move remaining non-libvirt fixtures 2021-05-12 16:32:43 +01:00
test_bug_1682693.py tests: Move remaining non-libvirt fixtures 2021-05-12 16:32:43 +01:00
test_bug_1689692.py tests: Move remaining non-libvirt fixtures 2021-05-12 16:32:43 +01:00
test_bug_1702454.py tests: Move remaining non-libvirt fixtures 2021-05-12 16:32:43 +01:00
test_bug_1713783.py api: extend evacuate instance to support target state 2023-01-31 18:16:00 +01:00
test_bug_1718455.py tests: Move remaining non-libvirt fixtures 2021-05-12 16:32:43 +01:00
test_bug_1718512.py Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
test_bug_1719730.py Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
test_bug_1732947.py Add API support for rebuilding BFV instances 2022-08-31 18:05:03 +05:30
test_bug_1735407.py Create a fixture around fake_notifier 2021-05-24 11:00:59 +01:00
test_bug_1741125.py scheduler: Remove 'USES_ALLOCATION_CANDIDATES' 2021-06-29 11:40:04 +01:00
test_bug_1746483.py Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
test_bug_1764556.py Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
test_bug_1764883.py api: extend evacuate instance to support target state 2023-01-31 18:16:00 +01:00
test_bug_1778305.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
test_bug_1780373.py Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
test_bug_1781286.py Remove double mocking 2022-08-02 15:31:15 +02:00
test_bug_1781710.py scheduler: Merge driver into manager 2021-08-23 16:52:25 +01:00
test_bug_1784353.py tests: Move remaining non-libvirt fixtures 2021-05-12 16:32:43 +01:00
test_bug_1790204.py scheduler: Merge 'FilterScheduler' into base class 2021-06-29 12:24:41 +01:00
test_bug_1794996.py Use _evacuate_server helper in func test 2020-11-04 13:23:40 +00:00
test_bug_1797580.py tests: Move remaining non-libvirt fixtures 2021-05-12 16:32:43 +01:00
test_bug_1806064.py Merge "Remove (almost) all references to 'instance_type'" 2021-06-13 05:57:49 +00:00
test_bug_1806515.py Create a fixture around fake_notifier 2021-05-24 11:00:59 +01:00
test_bug_1815153.py tests: Move remaining non-libvirt fixtures 2021-05-12 16:32:43 +01:00
test_bug_1823370.py api: extend evacuate instance to support target state 2023-01-31 18:16:00 +01:00
test_bug_1825020.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_bug_1825034.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
test_bug_1825537.py functional: Remove 'api' parameter 2019-12-06 15:35:33 +00:00
test_bug_1830747.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_bug_1831771.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_bug_1835822.py Delete dangling bdms 2023-08-31 14:19:58 +00:00
test_bug_1837955.py Use NotificationFixture for legacy notifications too 2021-05-24 11:00:59 +01:00
test_bug_1839560.py Revert "Make compute node rebalance safter" 2023-09-13 19:24:20 +02:00
test_bug_1843090.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_bug_1843708.py api: Drop generating a keypair and add special chars to naming 2022-07-28 11:05:50 +02:00
test_bug_1845291.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_bug_1848343.py functional: Add '_create_server' helper 2020-01-20 14:32:43 +00:00
test_bug_1849165.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_bug_1849409.py Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
test_bug_1852458.py Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
test_bug_1853009.py Revert "Make compute node rebalance safter" 2023-09-13 19:24:20 +02:00
test_bug_1862633.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_bug_1879878.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_bug_1886418.py functional: Enable real policy fixture by default 2020-09-16 11:31:23 +01:00
test_bug_1888395.py Fix LM rollback w/o multi port bindings extension 2022-04-27 14:53:05 -04:00
test_bug_1889108.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_bug_1890244.py ignore deleted server groups in validation 2022-06-21 19:13:55 +01:00
test_bug_1893284.py Fix typos 2022-05-30 17:40:00 +05:30
test_bug_1894966.py Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
test_bug_1895696.py compute: Skip cinder_encryption_key_id check when booting from volume 2020-09-17 12:16:54 +01:00
test_bug_1896463.py api: extend evacuate instance to support target state 2023-01-31 18:16:00 +01:00
test_bug_1899649.py tests: Move libvirt-specific fixtures 2021-05-24 11:00:29 +01:00
test_bug_1899835.py Refactor CinderFixture 2023-07-12 14:16:03 +00:00
test_bug_1902925.py Add API support for rebuilding BFV instances 2022-08-31 18:05:03 +05:30
test_bug_1908075.py api: Reject volume attach requests when an active bdm exists 2021-02-04 14:05:31 +00:00
test_bug_1909120.py Remove short call timeout from func test 2021-02-24 16:44:29 +01:00
test_bug_1914777.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_bug_1922053.py [codespell] fix typos in tests 2023-10-03 11:08:55 +01:00
test_bug_1928063.py Poison /sys access via various calls in test 2022-08-10 17:08:34 +02:00
test_bug_1937084.py Refactor CinderFixture 2023-07-12 14:16:03 +00:00
test_bug_1937375.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_bug_1938326.py Add more retries to TestMigrateFromDownHost tests 2021-09-07 14:40:12 +02:00
test_bug_1939545.py fup: Move _migrate_stub into LibvirtMigrationMixin 2021-08-20 13:07:14 +01:00
test_bug_1943431.py compute: Update volume_id within connection_info during swap_volume 2021-10-07 10:45:43 +01:00
test_bug_1944619.py Add VDPA support for suspend and livemigrate 2022-08-23 09:32:00 +01:00
test_bug_1951656.py Handle mdev devices in libvirt 7.7+ 2022-11-18 16:16:18 +01:00
test_bug_1978983.py For evacuation, ignore if task_state is not None 2022-08-03 04:52:10 +00:00
test_bug_1980720.py Adds check for VM snapshot fail while quiesce 2022-11-29 14:09:53 +00:00
test_bug_1983753.py Rename whitelist in tests 2022-08-10 17:08:35 +02:00
test_bug_1995153.py Save cell socket correctly when updating host NUMA topology 2023-04-25 18:46:02 -04:00
test_bug_2025480.py Do not untrack resources of a server being unshelved 2023-08-17 10:50:32 +02:00
test_bug_2040264.py Fix rebuild compute RPC API exception for rolling-upgrades 2023-10-30 10:17:42 -07:00

README.rst

Tests for Specific Regressions

When we have a bug reported by end users that we can write a full stack reproduce on, we should. And we should keep a regression test for that bug in our tree. It can be deleted at some future date if needed, but largely should not be changed.

Writing Regression Tests

  • These should be full stack tests which inherit from nova.test.TestCase directly. (This is to prevent coupling with other tests).
  • They should setup a full stack cloud in their setUp via fixtures
  • They should each live in a file which is named test_bug######.py

Writing Tests Before the Bug is Fixed

TODO describe writing and landing tests before the bug is fixed as a reproduce.