MapRFS test__execute_local fails trying ssh connect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Critical
|
Valeriy Ponomaryov |
Bug Description
The unit test does not appear to always follow the expected code path, so it sometimes fails.
=======
2017-01-24 22:10:05.935041 | Failed 1 tests - output below:
2017-01-24 22:10:05.935052 | =======
2017-01-24 22:10:05.935057 |
2017-01-24 22:10:05.935090 | manila.
2017-01-24 22:10:05.935115 | -------
2017-01-24 22:10:05.935121 |
2017-01-24 22:10:05.935130 | Captured pythonlogging:
2017-01-24 22:10:05.935140 | ~~~~~~~
2017-01-24 22:10:05.935167 | b' ERROR [manila.utils] Check whether private key or password are correctly set. Error connecting via ssh: '
2017-01-24 22:10:05.935175 | b''
2017-01-24 22:10:05.935180 |
2017-01-24 22:10:05.935189 | Captured traceback:
2017-01-24 22:10:05.935198 | ~~~~~~~~~~~~~~~~~~~
2017-01-24 22:10:05.935211 | b'Traceback (most recent call last):'
2017-01-24 22:10:05.935235 | b' File "/home/
2017-01-24 22:10:05.935249 | b' timeout=
2017-01-24 22:10:05.935282 | b' File "/home/
2017-01-24 22:10:05.935299 | b' retry_on_
2017-01-24 22:10:05.935333 | b' File "/home/
2017-01-24 22:10:05.935344 | b' return function()'
2017-01-24 22:10:05.935377 | b' File "/home/
2017-01-24 22:10:05.935392 | b' retry_on_
2017-01-24 22:10:05.935426 | b' File "/home/
2017-01-24 22:10:05.935441 | b' timeout_
2017-01-24 22:10:05.935475 | b' File "/home/
2017-01-24 22:10:05.935490 | b' mark_as_
2017-01-24 22:10:05.935524 | b' File "/home/
2017-01-24 22:10:05.935535 | b' return hub.switch()'
2017-01-24 22:10:05.935568 | b' File "/home/
2017-01-24 22:10:05.935581 | b' return self.greenlet.
2017-01-24 22:10:05.935613 | b' File "/home/
2017-01-24 22:10:05.935625 | b' self.wait(
2017-01-24 22:10:05.935657 | b' File "/home/
2017-01-24 22:10:05.935670 | b' presult = self.do_
2017-01-24 22:10:05.935704 | b' File "/home/
2017-01-24 22:10:05.935717 | b' return self.poll.
2017-01-24 22:10:05.935753 | b' File "/home/
2017-01-24 22:10:05.935766 | b' raise TimeoutException()'
2017-01-24 22:10:05.935781 | b'fixtures.
2017-01-24 22:10:05.935787 | b''
2017-01-24 22:10:05.935806 | b'During handling of the above exception, another exception occurred:'
2017-01-24 22:10:05.935813 | b''
2017-01-24 22:10:05.935826 | b'Traceback (most recent call last):'
2017-01-24 22:10:05.935856 | b' File "/home/
2017-01-24 22:10:05.935877 | b' out, err = self._run_ssh(host, cmd, check_exit_code)'
2017-01-24 22:10:05.935907 | b' File "/home/
2017-01-24 22:10:05.935918 | b' max_size=max_size)'
2017-01-24 22:10:05.935943 | b' File "/home/
2017-01-24 22:10:05.935959 | b' super(SSHPool, self)._
2017-01-24 22:10:05.935991 | b' File "/home/
2017-01-24 22:10:05.936006 | b' self.free_
2017-01-24 22:10:05.936030 | b' File "/home/
2017-01-24 22:10:05.936044 | b' raise exception.
2017-01-24 22:10:05.936072 | b'manila.
2017-01-24 22:10:05.936079 | b''
2017-01-24 22:10:05.936098 | b'During handling of the above exception, another exception occurred:'
2017-01-24 22:10:05.936105 | b''
2017-01-24 22:10:05.936118 | b'Traceback (most recent call last):'
2017-01-24 22:10:05.936151 | b' File "/home/
2017-01-24 22:10:05.936168 | b' self._driver.
2017-01-24 22:10:05.936198 | b' File "/home/
2017-01-24 22:10:05.936216 | b' raise exception.
2017-01-24 22:10:05.936240 | b'oslo_
2017-01-24 22:10:05.936249 | b'Command: None'
2017-01-24 22:10:05.936257 | b'Exit code: -'
2017-01-24 22:10:05.936282 | b"Stdout: 'Check whether private key or password are correctly set. Error connecting via ssh: '"
2017-01-24 22:10:05.936291 | b'Stderr: None'
2017-01-24 22:10:05.936297 | b''
2017-01-24 22:10:05.936302 |
Changed in manila: | |
assignee: | nobody → Mark Sturdevant (mark-sturdevant) |
Changed in manila: | |
assignee: | Mark Sturdevant (mark-sturdevant) → Valeriy Ponomaryov (vponomaryov) |
status: | New → In Progress |
Fix proposed to branch: master /review. openstack. org/424932
Review: https:/