GitHub user miguelaferreira opened a pull request: https://github.com/apache/cloudstack/pull/972
Fix error message in test_isolate_network_FW_PF_default_routes While running test_isolate_network_FW_PF_default_routes it is expected that SSH'ing into a VM does not work immediately. However, when it fails (as expected) witht he follwoing error ====Trying SSH Connection: Host:192.168.23.12 Uer:root Port:22 RetryCnt:1=== Traceback (most recent call last): File "/home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/venv/lib/python2.7/site-packages/marvin/sshClient.py", line 121, in createConnection timeout=self.timeout) File "/home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/venv/lib/python2.7/site-packages/paramiko/client.py", line 251, in connect retry_on_signal(lambda: sock.connect(addr)) File /home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/venv/lib/python2.7/site-packages/paramiko/util.py", line 270, in retry_on_signal return function() File /home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/venv/lib/python2.7/site-packages/paramiko/client.py", line 251, in <lambda> retry_on_signal(lambda: sock.connect(addr)) File "/usr/lib64/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 113] No route to host it would try to print a message that generates a actual error: DEBUG: ====Trying SSH Connection: Host:192.168.23.12 User:root Port:22 RetryCnt:0=== test_isolate_network_FW_PF_default_routes (integration.component.test_routers_network_ops.TestIsolatedNetworks): CRITICAL: EXCEPTION: test_isolate_network_FW_PF_default_routes: Traceback (most recent call last):, File "/usr/lib64/python2.7/unittest/case.py", line 369, in run testMethod()', File "/home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/test/integration/component/test_routers_network_ops.py", line 448, in test_isolate_network_FW_PF_default_routes self.fail("Failed to SSH into VM - %s" % (public_ip.ipaddress.ipaddress)), "AttributeError: 'unicode' object has no attribute 'ipaddress'" You can merge this pull request into a Git repository by running: $ git pull https://github.com/miguelaferreira/cloudstack test_isolate_network_FW_PF_default_routes Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/972.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #972 ---- commit c59de915c6d1f860368a01d8256ff1ff24996759 Author: Miguel Ferreira <miguelferre...@me.com> Date: 2015-10-23T10:03:55Z Fix error message in test_isolate_network_FW_PF_default_routes While running test_isolate_network_FW_PF_default_routes it is expected that SSH'ing into a VM does not work immediately. However, when it fails (as expected) witht he follwoing error ====Trying SSH Connection: Host:192.168.23.12 Uer:root Port:22 RetryCnt:1=== Traceback (most recent call last): File "/home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/venv/lib/python2.7/site-packages/marvin/sshClient.py", line 121, in createConnection timeout=self.timeout) File "/home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/venv/lib/python2.7/site-packages/paramiko/client.py", line 251, in connect retry_on_signal(lambda: sock.connect(addr)) File /home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/venv/lib/python2.7/site-packages/paramiko/util.py", line 270, in retry_on_signal return function() File /home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/venv/lib/python2.7/site-packages/paramiko/client.py", line 251, in <lambda> retry_on_signal(lambda: sock.connect(addr)) File "/usr/lib64/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 113] No route to host it would try to print a message that generates a actual error: DEBUG: ====Trying SSH Connection: Host:192.168.23.12 User:root Port:22 RetryCnt:0=== test_isolate_network_FW_PF_default_routes (integration.component.test_routers_network_ops.TestIsolatedNetworks): CRITICAL: EXCEPTION: test_isolate_network_FW_PF_default_routes: Traceback (most recent call last):, File "/usr/lib64/python2.7/unittest/case.py", line 369, in run testMethod()', File "/home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/test/integration/component/test_routers_network_ops.py", line 448, in test_isolate_network_FW_PF_default_routes self.fail("Failed to SSH into VM - %s" % (public_ip.ipaddress.ipaddress)), "AttributeError: 'unicode' object has no attribute 'ipaddress'" ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---