Merge "reboot the node in basic ops tests"
diff --git a/ironic_tempest_plugin/tests/scenario/baremetal_manager.py b/ironic_tempest_plugin/tests/scenario/baremetal_manager.py
index 9ceecb7..e9090cb 100644
--- a/ironic_tempest_plugin/tests/scenario/baremetal_manager.py
+++ b/ironic_tempest_plugin/tests/scenario/baremetal_manager.py
@@ -244,6 +244,13 @@
return instance, node
+ def reboot_node(self, instance, servers_client=None):
+ if servers_client is None:
+ servers_client = self.os_primary.servers_client
+ servers_client.reboot_server(instance['id'], type='HARD')
+ waiters.wait_for_server_status(servers_client,
+ instance['id'], 'ACTIVE')
+
def terminate_instance(self, instance, servers_client=None):
if servers_client is None:
servers_client = self.os_primary.servers_client
diff --git a/ironic_tempest_plugin/tests/scenario/test_baremetal_basic_ops.py b/ironic_tempest_plugin/tests/scenario/test_baremetal_basic_ops.py
index dcfc023..010c220 100644
--- a/ironic_tempest_plugin/tests/scenario/test_baremetal_basic_ops.py
+++ b/ironic_tempest_plugin/tests/scenario/test_baremetal_basic_ops.py
@@ -237,6 +237,12 @@
self.rescue_instance(self.instance, self.node, ip_address)
self.unrescue_instance(self.instance, self.node, ip_address)
+ # Reboot node
+ self.reboot_node(self.instance)
+
+ # ensure we can ping the node again
+ self.assertTrue(self.ping_ip_address(ip_address))
+
self.terminate_instance(self.instance)
@decorators.idempotent_id('549173a5-38ec-42bb-b0e2-c8b9f4a08943')
diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml
index 7720986..11eb7c0 100644
--- a/zuul.d/project.yaml
+++ b/zuul.d/project.yaml
@@ -38,8 +38,9 @@
voting: false
# NOTE(dtantsur): these jobs cover rarely changed tests and are quite
# unstable, so keep them non-voting.
- - ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode:
- voting: false
+ # NOTE(TheJulia): Except this first one so we can validate fixes to
+ # the base tests as we make them.
+ - ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode
- ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode-2024.1:
voting: false
- ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode-2023.2: