def gate_ostf_update(self): """ Update ostf start on deployed cluster Scenario: 1. Revert snapshot "gate_ostf_ceph_ha" 2. Update ostf 3. Run ostf Duration 35m """ if not settings.UPDATE_FUEL: raise exceptions.ConfigurationException( 'Variable "UPDATE_FUEL" was not set to true') self.show_step(1, initialize=True) if not self.env.revert_snapshot( 'gate_ostf_ceph_ha'): raise SkipTest('Snapshot gate_ostf_ceph_ha not found') self.show_step(2) update_ostf() cluster_id = self.fuel_web.get_last_created_cluster() self.show_step(3) all_test_suits = self.fuel_web.get_all_ostf_set_names(cluster_id) # Temporary do not execute platform # test until https://bugs.launchpad.net/fuel/+bug/1544179 fixed # TODO(tleontovich) enable platform test after fix LP1544179 test_to_execute = [ suite for suite in all_test_suits if suite not in ['configuration', 'tests_platform']] self.fuel_web.run_ostf( cluster_id=cluster_id, test_sets=test_to_execute)
def gate_ostf_update(self): """ Update ostf start on deployed cluster Scenario: 1. Revert snapshot "gate_ostf_ceph_ha" 2. Update ostf 3. Run ostf Duration 35m """ if not settings.UPDATE_FUEL: raise exceptions.ConfigurationException( 'Variable "UPDATE_FUEL" was not set to true') self.show_step(1) if not self.env.revert_snapshot( 'gate_ostf_ceph_ha'): raise SkipTest() self.show_step(2) update_ostf(self.env) cluster_id = self.fuel_web.get_last_created_cluster() self.show_step(3) self.fuel_web.run_ostf( cluster_id=cluster_id, test_sets=self.fuel_web.get_all_ostf_set_names(cluster_id))
def gate_ostf_update(self): """ Update ostf start on deployed cluster Scenario: 1. Revert snapshot "gate_ostf_ceph_ha" 2. Update ostf 3. Check ceph cluster health 4. Run ostf Duration 35m """ if not settings.UPDATE_FUEL: raise exceptions.ConfigurationException( 'Variable "UPDATE_FUEL" was not set to true') self.show_step(1, initialize=True) if not self.env.revert_snapshot('gate_ostf_ceph_ha'): raise SkipTest('Snapshot gate_ostf_ceph_ha not found') self.show_step(2) update_ostf() cluster_id = self.fuel_web.get_last_created_cluster() self.show_step(3) self.fuel_web.check_ceph_status(cluster_id, recovery_timeout=500) self.show_step(4) all_test_suits = self.fuel_web.get_all_ostf_set_names(cluster_id) test_to_execute = [ suite for suite in all_test_suits if suite not in ['configuration'] ] self.fuel_web.run_ostf(cluster_id=cluster_id, test_sets=test_to_execute, should_fail=5, failed_test_name=self.tests_to_skip)
def gate_ostf_update(self): """ Update ostf start on deployed cluster Scenario: 1. Revert snapshot "gate_ostf_ceph_ha" 2. Update ostf 3. Check ceph cluster health 4. Run ostf Duration 35m """ if not settings.UPDATE_FUEL: raise exceptions.ConfigurationException( 'Variable "UPDATE_FUEL" was not set to true') self.show_step(1, initialize=True) if not self.env.revert_snapshot( 'gate_ostf_ceph_ha'): raise SkipTest('Snapshot gate_ostf_ceph_ha not found') self.show_step(2) update_ostf() cluster_id = self.fuel_web.get_last_created_cluster() self.show_step(3) self.fuel_web.check_ceph_status(cluster_id, recovery_timeout=500) self.show_step(4) all_test_suits = self.fuel_web.get_all_ostf_set_names(cluster_id) test_to_execute = [ suite for suite in all_test_suits if suite not in ['configuration']] self.fuel_web.run_ostf( cluster_id=cluster_id, test_sets=test_to_execute)
def gate_ostf_update(self): """ Update ostf start on deployed cluster Scenario: 1. Revert snapshot "gate_ostf_ceph_ha" 2. Update ostf 3. Run ostf Duration 35m """ if not settings.UPDATE_FUEL: raise exceptions.ConfigurationException( 'Variable "UPDATE_FUEL" was not set to true') self.show_step(1, initialize=True) if not self.env.revert_snapshot( 'gate_ostf_ceph_ha'): raise SkipTest() self.show_step(2) update_ostf() cluster_id = self.fuel_web.get_last_created_cluster() self.show_step(3) all_test_suits = self.fuel_web.get_all_ostf_set_names(cluster_id) # Temporary do not execute platform # test until https://bugs.launchpad.net/fuel/+bug/1544179 fixed # TODO(tleontovich) enable platform test after fix LP1544179 test_to_execute = [ suite for suite in all_test_suits if suite not in ['configuration', 'tests_platform']] self.fuel_web.run_ostf( cluster_id=cluster_id, test_sets=test_to_execute)
def gate_ostf_update(self): """ Update ostf start on deployed cluster Scenario: 1. Revert snapshot "gate_ostf_ceph_ha" 2. Update ostf 3. Run ostf Duration 35m """ if not settings.UPDATE_FUEL: raise exceptions.ConfigurationException( 'Variable "UPDATE_FUEL" was not set to true') self.show_step(1, initialize=True) if not self.env.revert_snapshot('gate_ostf_ceph_ha'): raise SkipTest() self.show_step(2) update_ostf(self.env) cluster_id = self.fuel_web.get_last_created_cluster() self.show_step(3) self.fuel_web.run_ostf( cluster_id=cluster_id, test_sets=self.fuel_web.get_all_ostf_set_names(cluster_id))