[CVP] Add checks for docker_registry, docker_visualizer and cvp jobs version
Related-PROD: PROD-21801
Change-Id: I79c8c5eb0833aca6d077129e3ec81ff3afb06143
diff --git a/cvp-sanity/cvp_checks/tests/test_drivetrain.py b/cvp-sanity/cvp_checks/tests/test_drivetrain.py
index 3c486c0..468cdea 100644
--- a/cvp-sanity/cvp_checks/tests/test_drivetrain.py
+++ b/cvp-sanity/cvp_checks/tests/test_drivetrain.py
@@ -282,7 +282,8 @@
# 'ldap_server' removed because it is an external component now v 1.1.8
not_found_services = ['gerrit_db', 'gerrit_server', 'jenkins_master',
'jenkins_slave01', 'jenkins_slave02',
- 'jenkins_slave03', 'ldap_admin']
+ 'jenkins_slave03', 'ldap_admin', 'docker_registry',
+ 'docker_visualizer']
version_mismatch = []
for line in salt_output[salt_output.keys()[0]].split('\n'):
for service in not_found_services:
@@ -319,7 +320,7 @@
expected_version = 'master'
if BranchSpec:
actual_version = BranchSpec[0].getElementsByTagName('name')[0].childNodes[0].data
- if ( actual_version != expected_version ) and ( job_name not in ['cvp-func','cvp-ha','cvp-perf','upgrade-mcp-release'] ) :
+ if ( actual_version != expected_version ) and ( job_name not in ['upgrade-mcp-release'] ) :
version_mismatch.append("Job {0} has {1} branch."
"Expected {2}".format(job_name,
actual_version,