Fix cicd and sl steps for virtual-ocata-cicd
Change-Id: I1cbc3cbe66d70beb91c05e849b6bbd7dbf632443
Reviewed-on: https://review.gerrithub.io/370564
Reviewed-by: Dennis Dmitriev <dis.xcom@gmail.com>
Tested-by: Dennis Dmitriev <dis.xcom@gmail.com>
diff --git a/tcp_tests/managers/execute_commands.py b/tcp_tests/managers/execute_commands.py
index 6b52953..56e2722 100644
--- a/tcp_tests/managers/execute_commands.py
+++ b/tcp_tests/managers/execute_commands.py
@@ -22,7 +22,6 @@
state_running='start/running'):
"""Check if the service_name running or try to restart it
- :param service_name: name of the service that will be checked
:param node_name: node on which the service will be checked
:param check_cmd: shell command to ensure that the service is running
:param state_running: string for check the service state
@@ -118,6 +117,8 @@
failed += int(s.split("Failed:")[1])
if 'Minion did not return. [No response]' in s:
failed += 1
+ if 'Minion did not return. [Not connected]' in s:
+ failed += 1
if s.startswith("[CRITICAL]"):
failed += 1