Use the main introspection test instead of the smoke one
Currently we have two introspection tests: - Full, running in the regular job. Deploys after introspection. - Smoke, running in grenade. Only does introspection. This change leaves only the first test and marks at as smoke, so that it runs in grenade. This way we get better upgrade testing coverage at the expense of slightly longer grenade run time. This change makes it unnecessary to run inspector grenade jobs on ironic-tempest-plugin, so they are removed. Change-Id: Ie28a1d2122d3ea49fc3d39864e3f149aae4c1190
This commit is contained in:
parent
ca346cb1c9
commit
9089e56761
@ -57,6 +57,7 @@ class InspectorBasicTest(introspection_manager.InspectorScenarioTest):
|
||||
interval=self.wait_provisioning_state_interval)
|
||||
|
||||
@decorators.idempotent_id('03bf7990-bee0-4dd7-bf74-b97ad7b52a4b')
|
||||
@decorators.attr(type='smoke')
|
||||
@utils.services('compute', 'image', 'network')
|
||||
def test_baremetal_introspection(self):
|
||||
"""This smoke test case follows this set of operations:
|
||||
@ -144,33 +145,3 @@ class InspectorBasicTest(introspection_manager.InspectorScenarioTest):
|
||||
# verify nodes status and provision state
|
||||
for node_id in self.node_ids:
|
||||
self.verify_introspection_aborted(node_id)
|
||||
|
||||
|
||||
class InspectorSmokeTest(introspection_manager.InspectorScenarioTest):
|
||||
|
||||
@decorators.idempotent_id('a702d1f1-88e4-42ce-88ef-cba2d9e3312e')
|
||||
@decorators.attr(type='smoke')
|
||||
@utils.services('object_storage')
|
||||
def test_baremetal_introspection(self):
|
||||
"""This smoke test case follows this very basic set of operations:
|
||||
|
||||
* Fetches expected properties from baremetal flavor
|
||||
* Removes all properties from one node
|
||||
* Sets the node to manageable state
|
||||
* Inspects the node
|
||||
* Sets the node to available state
|
||||
|
||||
"""
|
||||
# NOTE(dtantsur): we can't silently skip this test because it runs in
|
||||
# grenade with several other tests, and we won't have any indication
|
||||
# that it was not run.
|
||||
assert self.node_ids, "No available nodes"
|
||||
node_id = next(iter(self.node_ids))
|
||||
self.introspect_node(node_id)
|
||||
|
||||
# settle down introspection
|
||||
self.wait_for_introspection_finished([node_id])
|
||||
self.wait_provisioning_state(
|
||||
node_id, 'manageable',
|
||||
timeout=CONF.baremetal_introspection.ironic_sync_timeout,
|
||||
interval=self.wait_provisioning_state_interval)
|
||||
|
@ -12,9 +12,6 @@
|
||||
- ironic-tempest-dsvm-ironic-inspector-queens
|
||||
- ironic-tempest-dsvm-ironic-inspector-pike
|
||||
- ironic-tempest-dsvm-ironic-inspector-ocata
|
||||
- ironic-inspector-grenade-dsvm
|
||||
- ironic-inspector-grenade-dsvm-queens
|
||||
- ironic-inspector-grenade-dsvm-pike
|
||||
gate:
|
||||
jobs:
|
||||
- ironic-dsvm-standalone
|
||||
@ -28,6 +25,3 @@
|
||||
- ironic-tempest-dsvm-ironic-inspector-queens
|
||||
- ironic-tempest-dsvm-ironic-inspector-pike
|
||||
- ironic-tempest-dsvm-ironic-inspector-ocata
|
||||
- ironic-inspector-grenade-dsvm
|
||||
- ironic-inspector-grenade-dsvm-queens
|
||||
- ironic-inspector-grenade-dsvm-pike
|
||||
|
@ -38,13 +38,3 @@
|
||||
name: ironic-tempest-dsvm-ironic-inspector-ocata
|
||||
parent: ironic-tempest-dsvm-ironic-inspector
|
||||
override-checkout: stable/ocata
|
||||
|
||||
- job:
|
||||
name: ironic-inspector-grenade-dsvm-queens
|
||||
parent: ironic-inspector-grenade-dsvm
|
||||
override-checkout: stable/queens
|
||||
|
||||
- job:
|
||||
name: ironic-inspector-grenade-dsvm-pike
|
||||
parent: ironic-inspector-grenade-dsvm
|
||||
override-checkout: stable/pike
|
||||
|
Loading…
Reference in New Issue
Block a user