Add output.xml with only INFO logging leve
[csit.git] / resources / libraries / python / DMM / SetupDMMTest.py
index 7d219fc..993e119 100644 (file)
@@ -95,19 +95,20 @@ def install_dmm_test(node):
     """
 
     arch = Topology.get_node_arch(node)
-    logger.console('Install the DMM on {0} ({1})'.format(node['host'], arch))
+    logger.console('Install DMM on {0} ({1})'.format(node['host'], arch))
 
     ssh = SSH()
     ssh.connect(node)
     (ret_code, _, stderr) = ssh.exec_command(
-        'cd {0}/{1} && ./install_dmm.sh {2} 2>&1 | tee log_install_dmm.txt'
+        'cd {0}/{1} && ./install_prereq.sh {2} 2>&1 | tee '
+        'log_install_prereq.txt'
         .format(con.REMOTE_FW_DIR, con.DMM_SCRIPTS, arch), timeout=600)
 
     if ret_code != 0:
-        logger.error('Install the DMM error: {0}'.format(stderr))
-        raise RuntimeError('Install the DMM failed')
+        logger.error('Install DMM error: {0}'.format(stderr))
+        raise RuntimeError('Install prereq failed')
     else:
-        logger.console('Install the DMM on {0} success!'.format(node['host']))
+        logger.console('Install DMM on {0} success!'.format(node['host']))
 
 def setup_node(args):
     """Run all set-up methods for a node.