Hi,
can any one tel me how to fix the ssh error happening during ping test in
yardstick.
log:
2017-07-10 07:01:49,034 yardstick.benchmark.runners.duration duration.py:43
INFO worker START, duration 60 sec, class <class
'yardstick.benchmark.scenarios.networking.ping.Ping'>
2017-07-10 07:01:49,034 yardstick.ssh ssh.py:115 DEBUG user:root
host:172.18.0.228
2017-07-10 07:01:50,036 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:01:52,039 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:01:54,041 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:01:56,044 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:01:58,046 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:02:00,048 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:02:02,051 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:02:04,052 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:02:06,055 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:02:08,057 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:02:10,060 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:02:12,063 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:02:14,065 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:02:16,068 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:02:18,070 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:02:20,072 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:02:22,075 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:02:24,077 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:02:26,080 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:02:28,082 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
2017-07-10 07:02:30,084 yardstick.ssh ssh.py:320 DEBUG Ssh is still
unavailable: SSHError("Exception <class 'socket.timeout'> was raised during
connect. Exception value is: timeout('timed out',)",)
^CProcess Process-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
Process Dumper:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
Traceback (most recent call last):
File "/usr/local/bin/yardstick", line 11, in <module>
load_entry_point('yardstick', 'console_scripts', 'yardstick')()
File "/home/opnfv/repos/yardstick/yardstick/main.py", line 49, in main
self.run()
self.run()
YardstickCLI().main(sys.argv[1:])
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
File "/home/opnfv/repos/yardstick/yardstick/cmd/cli.py", line 162, in main
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/home/opnfv/repos/yardstick/yardstick/benchmark/runners/duration.py",
line 47, in _worker_process
self._target(*self._args, **self._kwargs)
self._dispath_func_notask()
File "/home/opnfv/repos/yardstick/yardstick/benchmark/runners/base.py", line
58, in _output_serializer_main
File "/home/opnfv/repos/yardstick/yardstick/cmd/cli.py", line 140, in
_dispath_func_notask
func(CONF.category)
File "/home/opnfv/repos/yardstick/yardstick/cmd/commands/task.py", line 52,
in do_start
Task().start(param, **kwargs)
File "/home/opnfv/repos/yardstick/yardstick/benchmark/core/task.py", line 92,
in start
benchmark = cls(scenario_cfg, context_cfg)
File
"/home/opnfv/repos/yardstick/yardstick/benchmark/scenarios/networking/ping.py",
line 46, in __init__
self._run(scenarios, run_in_parallel, args.output_file)
File "/home/opnfv/repos/yardstick/yardstick/benchmark/core/task.py", line
145, in _run
record = queue.get()
File "/usr/lib/python2.7/multiprocessing/queues.py", line 117, in get
runner_join(runner)
File "/home/opnfv/repos/yardstick/yardstick/benchmark/core/task.py", line
473, in runner_join
self.connection.wait(timeout=600)
File "/home/opnfv/repos/yardstick/yardstick/ssh.py", line 321, in wait
status = runner.join()
File "/home/opnfv/repos/yardstick/yardstick/benchmark/runners/base.py", line
265, in join
res = self._recv()
self.process.join(timeout)
time.sleep(interval)
File "/usr/lib/python2.7/multiprocessing/process.py", line 145, in join
KeyboardInterrupt
KeyboardInterrupt
res = self._popen.wait(timeout)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 154, in wait
return self.poll(0)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 135, in poll
pid, sts = os.waitpid(self.pid, flag)
KeyboardInterrupt
2017-07-10 07:02:30,516 yardstick.benchmark.runners.base base.py:178 DEBUG
Terminating all runners
?
Regards,
Kalaivani.R
============================================================================================================================
Disclaimer: This message and the information contained herein is proprietary
and confidential and subject to the Tech Mahindra policy statement, you may
review the policy at http://www.techmahindra.com/Disclaimer.html
<http://www.techmahindra.com/Disclaimer.html> externally
http://tim.techmahindra.com/tim/disclaimer.html
<http://tim.techmahindra.com/tim/disclaimer.html> internally within
TechMahindra.
============================================================================================================================
_______________________________________________
opnfv-tech-discuss mailing list
[email protected]
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss