X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FDMM%2FSetupDMMTest.py;h=7bb596546c37920bd3a6d1ec85fc86e992d1ec87;hp=7d219fcfd427fa2771fa5a7110d5f13a00dccfb4;hb=19947738140e71d8d9fa90349e68f6261f5a612f;hpb=374b35938abf48e742fb3438ae8ed1e9b47d84ce diff --git a/resources/libraries/python/DMM/SetupDMMTest.py b/resources/libraries/python/DMM/SetupDMMTest.py index 7d219fcfd4..7bb596546c 100644 --- a/resources/libraries/python/DMM/SetupDMMTest.py +++ b/resources/libraries/python/DMM/SetupDMMTest.py @@ -100,14 +100,15 @@ def install_dmm_test(node): 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') + raise RuntimeError('Install prereq failed') else: - logger.console('Install the DMM on {0} success!'.format(node['host'])) + logger.console('Install prereq on {0} success!'.format(node['host'])) def setup_node(args): """Run all set-up methods for a node.