Revert "Move background ping to scenario test cases"

This reverts commit f017ab354e.

Reason for revert: There is an issue [1] saw on OSP-13 gating job [2]
that is requiring for further investigation.

[1] https://trello.com/c/LnHdBjYd/632-background-ping-test-failure
[2] https://rhos-ci-jenkins.lab.eng.tlv2.redhat.com/job/gate-sanity-13_director-rhel-virthost-3cont_2comp-ipv4-vxlan-tobiko_faults/578/artifact/infrared/.workspaces/active/tobiko_gate/tobiko_gate_07_verify_resources_scenario.html

Change-Id: I42417b36fb527ea5ed3a8c47422b30a9197e6d05
This commit is contained in:
Federico Ressi 2022-02-11 14:38:27 +00:00
parent 71ab051ab4
commit 11e349481b
3 changed files with 4 additions and 10 deletions

View File

@ -125,6 +125,9 @@ class DisruptTripleoNodesTest(testtools.TestCase):
def test_0vercloud_health_check(self):
OvercloudHealthCheck.run_before(skip_mac_table_size_test=False)
def test_check_background_vm_ping(self):
nova.check_or_start_background_vm_ping()
def test_hard_reboot_controllers_recovery(self):
OvercloudHealthCheck.run_before()
cloud_disruptions.reset_all_controller_nodes()

View File

@ -20,7 +20,6 @@ import testtools
import tobiko
from tobiko.openstack import neutron
from tobiko.openstack import nova
from tobiko.tripleo import nova as tripleo_nova
from tobiko.openstack import stacks
from tobiko.shell import ping
from tobiko.shell import sh
@ -59,14 +58,6 @@ class NetworkTest(testtools.TestCase):
gateway['ha'])
class BackgroundPingVmTest(testtools.TestCase):
def test_check_background_vm_ping(self):
"""Test background ping to a vm a background process,
second tobiko run will check the ping results"""
tripleo_nova.check_or_start_background_vm_ping()
@pytest.mark.migrate_server
class SameHostNetworkTest(NetworkTest):

View File

@ -229,7 +229,7 @@ def get_nova_server_floating_ip():
stacks.CirrosServerStackFixture).floating_ip_address
# Test is for D/S env
# Test is inteded for D/S env
@tripleo.skip_if_missing_overcloud
def check_or_start_background_vm_ping():
"""Check if process exists, if so stop and check ping health