diff --git a/whitebox_neutron_tempest_plugin/tests/scenario/base.py b/whitebox_neutron_tempest_plugin/tests/scenario/base.py index 8f7419d..cdcffad 100644 --- a/whitebox_neutron_tempest_plugin/tests/scenario/base.py +++ b/whitebox_neutron_tempest_plugin/tests/scenario/base.py @@ -1237,11 +1237,17 @@ class BaseTempestTestCaseOvn(BaseTempestWhiteboxTestCase): command_items.append('--db="{}"'.format(all_db_addresses)) # obtain the ovsdb-server command running on this pod + # `|| true` added to prevent the following issue: + # https://github.com/kubevirt/kubevirt/issues/10240 cmd = ' '.join((cls.OC, 'rsh', db_pod, - 'ps -o command -C ovsdb-server --no-headers -ww')) + 'ps -o command -C ovsdb-server --no-headers -ww', + '|| true')) ovsdb_server_cmd = cls.proxy_host_client.exec_command(cmd) + assert 'ovsdb-server' in ovsdb_server_cmd, \ + "command '{}' returned unexpected output: {}".format( + cmd, ovsdb_server_cmd) # obtain the private-key, certificate and ca-cert options for ssl_param in ('private-key', 'certificate', 'ca-cert'): command_items.append(re.search(