Commit Graph

9 Commits

Author SHA1 Message Date
Ghanshyam Mann 0976964257 Retire oswin-tempest-plugin: remove repo content
Winstackers project has been retired
- https://review.opendev.org/c/openstack/governance/+/886880

this commit removes the content of oswin-tempest-plugin
deliverables of this project

Change-Id: I489d36a539cb943c1d7216390e469a471719a2cf
2023-09-09 12:30:57 -07:00
Claudiu Belu bce179882a Adds metrics collection scenario
This test suite verifies that the instance metrics are properly published
and collected and have non-zero values. The verification is done via the
ceilometer API.

Waiting for the ceilometer compute agent to poll the resources is crucial,
otherwise the test suite will fail due to the fact that no samples would
be found published before checking the samples.

The ceilometer agent's polling interval should have the same value as
the test suite's polled_metric_delay. This can be done in two ways:
a. Configure tempest's polled_metric_delay, by adding the following
line in tempest.conf, in the telemetry section:
    polled_metric_delay = <desired value>
b. Set the interval value in pipeline.yaml on the compute node to the
desired value and restart the ceilometer compute agent.

The second method is preferred, as the interval value defined in
pipeline.yaml is 600 seconds, which would mean each test would last
at least 10 minutes.

Change-Id: I2ad696c221fba860a30621686b464b8486bea583
2017-11-16 14:02:53 +00:00
Claudiu Belu ab50a17aff Fixes tests method resolution
Python allows multiple inheritance, which we use in order to mix and
match test scenarios and actions.

Python performs method resolution as follows:
- checks if the method is defined in the current class.
- if not, check parents, left to right.

Since all tests have test_base as its left-most parent, all methods
are resolved in test_base, which is not the desired behaviour. This
affects optional_feature mixin in particular.

Change-Id: I19d3bdef85a12ef45b600aa4fc68afd390b96c9f
2017-09-07 05:18:02 -07:00
Claudiu Belu 49f63c77d3 splits the resize mixin into two
Splits the _ResizeMixin into _ResizeMixin and _ResizeNegativeMixin.
Not all test scenarios have negative test scenarios (the cluster tests).

Change-Id: Icab2ebe1233f1bcf4f469d141a8046a5bbbed38e
2017-09-07 01:36:07 -07:00
Claudiu Belu 6e1bb25132 Fixes disk resize negative test
If the configured flavor has a disk size of 1 GB, the negative
resize test will fail, because the nova API does not allow
resizing disks to 0 GB.

This patch will instead create a bigger flavor, and resize to the
vanilla one.

Change-Id: I733dab539a3b97a16d0dd14a9bc294c1446c5131
2017-09-01 13:09:00 +00:00
Claudiu Belu 4212a327ee Fixes flake8 and unittest errors
Change-Id: I4398a098da08ed8e086edac86fe8d68a06cf8eda
2017-07-31 02:46:46 -07:00
Claudiu Belu 696da58fde Adds cold resize Mixin
The mixin contains code and tests necessary in order to test
different scenarios / features with cold resize.

The mixins will ensure that the Feature classes they are mixed
into will still behave properly after cold resize.
2017-07-18 03:26:48 -07:00
Claudiu Belu 136ef0ac9d Adds cold migration Mixin
The mixin contains code and tests necessary in order to
test different scenarios / features with cold migration.

The mixins will ensure that the Feature classes they are mixed
into will still behave properly after cold migration.
2017-07-18 03:26:48 -07:00
Claudiu Belu 7f0fa003af Adds first basic tests and config options
Adds the following config options under the "hyperv" section:

- hypervisor_version (the compute nodes' hypervisor_version)
- vhd_image_ref
- vhdx_image_ref
- gen2_image_ref

Adds tests for VHD, VHDX, Generation 2 VM images.
2017-07-18 03:26:43 -07:00