Disable RHEL and OL based compute tests

Skip tests because in future releases Mitaka does not support
these features

Change-Id: I5365b6a774c6b56213960cb44d9064c0f5b67c27
This commit is contained in:
Vladimir Jigulin 2016-12-13 13:57:03 +03:00
parent 08f214ccc1
commit 56cf7e13f8
4 changed files with 46 additions and 14 deletions

View File

@ -16,6 +16,7 @@ from devops.helpers.helpers import tcp_ping
from devops.helpers.helpers import wait
from proboscis import asserts
from proboscis import test
from proboscis import SkipTest
from fuelweb_test.helpers import checkers
from fuelweb_test.helpers.decorators import log_snapshot_after_test
@ -27,11 +28,12 @@ from fuelweb_test.tests.tests_extra_computes.base_extra_computes \
import ExtraComputesBase
@test(groups=["ol", "ol.ha_one_controller", "ol.basic"])
@test(enabled=False, groups=["ol", "ol.ha_one_controller", "ol.basic"])
class OlHaOneController(ExtraComputesBase):
"""OL-based compute HA One Controller basic test"""
@test(depends_on=[SetupEnvironment.prepare_slaves_3],
@test(enabled=False,
depends_on=[SetupEnvironment.prepare_slaves_3],
groups=["deploy_ol_compute_ha_one_controller_tun"])
@log_snapshot_after_test
def deploy_ol_compute_ha_one_controller_tun(self):
@ -55,6 +57,9 @@ class OlHaOneController(ExtraComputesBase):
Snapshot: deploy_ol_compute_ha_one_controller_tun
"""
# pylint: disable=W0101
raise SkipTest("Test disabled because this feauture is not supported")
self.show_step(1, initialize=True)
logger.debug('Check MD5 sum of OL 7 image')
check_image = checkers.check_image(
@ -168,11 +173,12 @@ class OlHaOneController(ExtraComputesBase):
is_make=True)
@test(groups=['ol', 'ol.failover_group'])
@test(enabled=False, groups=['ol', 'ol.failover_group'])
class OlFailoverGroup(ExtraComputesBase):
"""Failover tests for OL-based computes"""
@test(depends_on_groups=['deploy_ol_compute_ha_one_controller_tun'],
@test(enabled=False,
depends_on_groups=['deploy_ol_compute_ha_one_controller_tun'],
groups=['check_ol_warm_reboot'])
@log_snapshot_after_test
def check_ol_warm_reboot(self):
@ -189,6 +195,8 @@ class OlFailoverGroup(ExtraComputesBase):
Duration: 20m
Snapshot: check_ol_warm_reboot
"""
# pylint: disable=W0101
raise SkipTest("Test disabled because this feauture is not supported")
self.show_step(1)
self.env.revert_snapshot('ready_ha_one_controller_with_ol_compute',
@ -248,7 +256,8 @@ class OlFailoverGroup(ExtraComputesBase):
self.env.make_snapshot("check_ol_warm_reboot")
@test(depends_on_groups=['deploy_ol_compute_ha_one_controller_tun'],
@test(enabled=False,
depends_on_groups=['deploy_ol_compute_ha_one_controller_tun'],
groups=['check_ol_hard_reboot'])
@log_snapshot_after_test
def check_ol_hard_reboot(self):
@ -265,6 +274,8 @@ class OlFailoverGroup(ExtraComputesBase):
Duration: 20m
Snapshot: check_ol_hard_reboot
"""
# pylint: disable=W0101
raise SkipTest("Test disabled because this feauture is not supported")
self.show_step(1)
self.env.revert_snapshot('ready_ha_one_controller_with_ol_compute',

View File

@ -16,6 +16,7 @@ from __future__ import division
from proboscis import asserts
from proboscis import test
from proboscis import SkipTest
from fuelweb_test.helpers import checkers
from fuelweb_test.helpers.decorators import log_snapshot_after_test
@ -26,10 +27,11 @@ from fuelweb_test.tests.base_test_case import SetupEnvironment
from fuelweb_test.tests.tests_extra_computes import base_extra_computes
@test(groups=['ol.migration'])
@test(enabled=False, groups=['ol.migration'])
class OlHAOneControllerMigration(base_extra_computes.ExtraComputesBase):
"""OL-based compute HA migration test"""
@test(depends_on=[SetupEnvironment.prepare_slaves_5],
@test(enabled=False,
depends_on=[SetupEnvironment.prepare_slaves_5],
groups=["check_vm_migration_ol_ha_one_controller_tun"])
@log_snapshot_after_test
def check_vm_migration_ol_ha_one_controller_tun(self):
@ -53,6 +55,9 @@ class OlHAOneControllerMigration(base_extra_computes.ExtraComputesBase):
Snapshot: check_vm_migration_ol_ha_one_controller_tun
"""
# pylint: disable=W0101
raise SkipTest("Test disabled because this feauture is not supported")
self.show_step(1)
logger.debug('Check MD5 sum of OL 7 image')
check_image = checkers.check_image(

View File

@ -17,6 +17,7 @@ from devops.helpers.helpers import tcp_ping
from devops.helpers.helpers import wait
from proboscis import asserts
from proboscis import test
from proboscis import SkipTest
from fuelweb_test.helpers import checkers
from fuelweb_test.helpers.decorators import log_snapshot_after_test
@ -28,11 +29,12 @@ from fuelweb_test.tests.tests_extra_computes.base_extra_computes \
import ExtraComputesBase
@test(groups=["rh", "rh.ha_one_controller", "rh.basic"])
@test(enabled=False, groups=["rh", "rh.ha_one_controller", "rh.basic"])
class RhHaOneController(ExtraComputesBase):
"""RH-based compute HA One Controller basic test"""
@test(depends_on=[SetupEnvironment.prepare_slaves_3],
@test(enabled=False,
depends_on=[SetupEnvironment.prepare_slaves_3],
groups=["deploy_rh_compute_ha_one_controller_tun"])
@log_snapshot_after_test
def deploy_rh_compute_ha_one_controller_tun(self):
@ -56,6 +58,9 @@ class RhHaOneController(ExtraComputesBase):
Snapshot: deploy_rh_compute_ha_one_controller_tun
"""
# pylint: disable=W0101
raise SkipTest("Test disabled because this feauture is not supported")
self.show_step(1, initialize=True)
logger.debug('Check MD5 sum of RH 7 image')
check_image = checkers.check_image(
@ -171,11 +176,12 @@ class RhHaOneController(ExtraComputesBase):
is_make=True)
@test(groups=['rh', 'rh.failover_group'])
@test(enabled=False, groups=['rh', 'rh.failover_group'])
class RhFailoverGroup(ExtraComputesBase):
"""Failover tests for RH-based computes"""
@test(depends_on_groups=['deploy_rh_compute_ha_one_controller_tun'],
@test(enabled=False,
depends_on_groups=['deploy_rh_compute_ha_one_controller_tun'],
groups=['check_rh_warm_reboot'])
@log_snapshot_after_test
def check_rh_warm_reboot(self):
@ -193,6 +199,8 @@ class RhFailoverGroup(ExtraComputesBase):
Duration 20m
Snapshot check_rh_warm_reboot
"""
# pylint: disable=W0101
raise SkipTest("Test disabled because this feauture is not supported")
self.show_step(1, initialize=True)
self.env.revert_snapshot('ready_ha_one_controller_with_rh_compute',
@ -252,7 +260,8 @@ class RhFailoverGroup(ExtraComputesBase):
os_conn.delete_instance(vm)
os_conn.verify_srv_deleted(vm)
@test(depends_on_groups=['deploy_rh_compute_ha_one_controller_tun'],
@test(enabled=False,
depends_on_groups=['deploy_rh_compute_ha_one_controller_tun'],
groups=['check_rh_hard_reboot'])
@log_snapshot_after_test
def check_rh_hard_reboot(self):
@ -270,6 +279,8 @@ class RhFailoverGroup(ExtraComputesBase):
Duration 20m
Snapshot check_rh_hard_reboot
"""
# pylint: disable=W0101
raise SkipTest("Test disabled because this feauture is not supported")
self.show_step(1, initialize=True)
self.env.revert_snapshot('ready_ha_one_controller_with_rh_compute',

View File

@ -14,6 +14,7 @@
from proboscis import asserts
from proboscis import test
from proboscis import SkipTest
from fuelweb_test.helpers import checkers
from fuelweb_test.helpers.decorators import log_snapshot_after_test
@ -25,10 +26,11 @@ from fuelweb_test.tests.tests_extra_computes.base_extra_computes \
import ExtraComputesBase
@test(groups=['rh.migration'])
@test(enabled=False, groups=['rh.migration'])
class RhHAOneControllerMigration(ExtraComputesBase):
"""RH-based compute HA migration test"""
@test(depends_on=[SetupEnvironment.prepare_slaves_5],
@test(enabled=False,
depends_on=[SetupEnvironment.prepare_slaves_5],
groups=["check_vm_migration_rh_ha_one_controller_tun"])
@log_snapshot_after_test
def check_vm_migration_rh_ha_one_controller_tun(self):
@ -53,6 +55,9 @@ class RhHAOneControllerMigration(ExtraComputesBase):
Snapshot: check_vm_migration_rh_ha_one_controller_tun
"""
# pylint: disable=W0101
raise SkipTest("Test disabled because this feauture is not supported")
self.show_step(1, initialize=True)
logger.debug('Check MD5 sum of RH 7 image')
check_image = checkers.check_image(