Run tempest test from shared-salt
Run tempest test from shared-salt in:
virtual-mcp-pike-dvr-ceph-rgw
virtual-mcp-pike-dvr-ssl-barbican
virtual-mcp-pike-dvr-ssl
virtual-mcp-pike-dvr
virtual-mcp-pike-ovs-ceph
virtual-mcp-pike-ovs
cookied-mcp-pike-ov
cookied-mcp-pike-dvr
cookied-mcp-pike-dpdk
Also, update runtestmanager
Change-Id: Id7485e057f2673f93b0c363a6b741845405061fb
diff --git a/tcp_tests/managers/runtestmanager.py b/tcp_tests/managers/runtestmanager.py
index 8957091..b5772c5 100644
--- a/tcp_tests/managers/runtestmanager.py
+++ b/tcp_tests/managers/runtestmanager.py
@@ -123,6 +123,12 @@
"{}*".format(self.target),
'pip.install', 'docker'), None
+ def run_salt_minion_state(self):
+ return self.salt_api.enforce_state(self.master_tgt, 'salt.minion')
+
+ def check_ping_salt_master(self):
+ return self.salt_api.local('cfg01*', 'test.ping')
+
def install_formula(self):
return self.salt_api.local(
self.master_tgt,
@@ -203,14 +209,25 @@
self.store_runtest_model()
res = self.install_formula()
LOG.info(json.dumps(res, indent=4))
+
res = self.install_python_lib()
LOG.info(json.dumps(res, indent=4))
+
+ res = self.run_salt_minion_state()
+ LOG.info(json.dumps(res, indent=4))
+
+ res = self.check_ping_salt_master()
+ LOG.info(json.dumps(res, indent=4))
+
res = self.create_networks()
LOG.info(json.dumps(res, indent=4))
+
res = self.create_flavors()
LOG.info(json.dumps(res, indent=4))
+
res = self.create_cirros()
LOG.info(json.dumps(res, indent=4))
+
res = self.generate_config()
LOG.info(json.dumps(res, indent=4))