Commit Graph

7 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 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 fb70f974b2 Fixes flavor ref usage
The test_base's _get_flavor_ref method should be used
when a flavor ref is required. Optional features rely on that
method, as it adds the optional feature as a flavor extra_spec.

The optional_feature's _get_flavor_ref should use the class' _FLAVOR_REF,
not the CONF.compute.flavor_ref. Some tests might require a different
flavor (secure_boot tests).

Change-Id: Ie7f0b0f20fe76a7df5a9b60c8f4c290e810eb2df
2017-09-06 16:22:24 +00: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 fb57b6104e Fixes optional_feature's test_resize_remove_feature
The test was supposed to create a VM having the configured feature,
and then remove it through resize.

Change-Id: I2c9984f49412ad36f71c4e9da81a6fd6edcf0e43
2017-08-29 14:41:05 +00: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