From: Gerald Kunzmann Date: Thu, 19 Oct 2017 06:44:01 +0000 (+0000) Subject: Merge "update the docs of testing" X-Git-Tag: opnfv-6.0.0~31 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=1e19196e60c82eddbdcf4856babf069cea262dbb;hp=b8c169d1f7358645514f93f68b966f33c5af7e56;p=doctor.git Merge "update the docs of testing" --- diff --git a/doctor_tests/installer/apex.py b/doctor_tests/installer/apex.py index b64a3662..16f0376e 100644 --- a/doctor_tests/installer/apex.py +++ b/doctor_tests/installer/apex.py @@ -93,7 +93,7 @@ class ApexInstaller(BaseInstaller): def setup_stunnel(self): self.log.info('Setup ssh stunnel in controller nodes in Apex installer......') for node_ip in self.controllers: - cmd = "sudo ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i %s %s@%s -R %s:localhost:%s sleep 600 > ssh_tunnel.%s.log 2>&1 < /dev/null &" \ + cmd = "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i %s %s@%s -R %s:localhost:%s sleep 600 > ssh_tunnel.%s.log 2>&1 < /dev/null &" \ % (self.key_file, self.node_user_name, node_ip, self.conf.consumer.port, self.conf.consumer.port, node_ip) server = subprocess.Popen(cmd, shell=True) diff --git a/doctor_tests/scenario/common.py b/doctor_tests/scenario/common.py index ebf0cf58..a7240c00 100644 --- a/doctor_tests/scenario/common.py +++ b/doctor_tests/scenario/common.py @@ -6,8 +6,6 @@ # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## -import os - from doctor_tests.common.utils import match_rep_in_file