On execution some of the commands Paramiko returns fine. For a particular set command that runs on remote shell , the execution hangs and on killing the process i capture the following error.
Exception executing the tests
Traceback (most recent call last):
File "cli_automation.py", line 333, in executeTests
output = stdout.read()
File "/usr/local/lib/python2.7/site-packages/paramiko-1.12.2-py2.7.egg/paramiko/file.py", line 134, in read
new_data = self._read(self._DEFAULT_BUFSIZE)
File "/usr/local/lib/python2.7/site-packages/paramiko-1.12.2-py2.7.egg/paramiko/channel.py", line 1260, in _read
return self.channel.recv(size)
File "/usr/local/lib/python2.7/site-packages/paramiko-1.12.2-py2.7.egg/paramiko/channel.py", line 617, in recv
out = self.in_buffer.read(nbytes, self.timeout)
File "/usr/local/lib/python2.7/site-packages/paramiko-1.12.2-py2.7.egg/paramiko/buffered_pipe.py", line 137, in read
self._cv.wait(timeout)
File "/usr/local/lib/python2.7/threading.py", line 244, in wait
waiter.acquire()
KeyboardInterrupt