Github user borisstoyanov commented on the issue: https://github.com/apache/cloudstack/pull/1663 LGTM, I was able to build and test the PR. Found a little issue with the tests and fixed it. Here are the tests results: ``` $ nosetests --with-xunit --xunit-file=integration-test-results.xml --with-marvin --marvin-config=advanced_ccs.cfg -s -a tags=advanced,required_hardware=true --zone=zone1 --hypervisor=kvm cloudstack/test/integration/smoke/test_router_dns.py -vv nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] ==== Marvin Init Started ==== === Marvin Parse Config Successful === === Marvin Setting TestData Successful=== ==== Log Folder Path: /tmp//MarvinLogs//Aug_30_2016_15_44_51_LNKTQ1. All logs will be available here ==== === Marvin Init Logging Successful=== ==== Marvin Init Successful ==== Creating Admin Account for domain b1376fae-6e2a-11e6-bca7-000c290e77f6 on zone 7060c2b9-7ea2-475f-9b74-56ce80444feb Creating Service Offering on zone 7060c2b9-7ea2-475f-9b74-56ce80444feb Creating Network Offering on zone 7060c2b9-7ea2-475f-9b74-56ce80444feb Creating Network for Account test-a-TestRouterDns-CF5DZ4 using offering 8c206825-65e7-4aaa-9850-b8e804f523ef Creating guest VM for Account test-a-TestRouterDns-CF5DZ4 using offering 6fd51c75-fe0f-4673-8b1a-a312fe5605c4 Starting test_router_dns_externalips... Querying VR DNS IP: 192.168.1.103 VR DNS query failed from non-guest network IP as expected === TestName: test_router_dns_externalipquery | Status : SUCCESS === Starting test_router_dns_guestipquery... Creating Firewall rule for VM ID: cf929b5d-4ce1-4c86-b389-5baba0a5d8e7 Creating NAT rule for VM ID: cf929b5d-4ce1-4c86-b389-5baba0a5d8e7 SSH into guest VM with IP: 192.168.1.103 ====Trying SSH Connection: Host:192.168.1.103 User:root Port:22 RetryCnt:8=== SshClient: Exception under createConnection: ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/site-packages/marvin/sshClient.py", line 122, in createConnection\n allow_agent=False)\n', ' File "/usr/local/lib/python2.7/site-packages/paramiko/client.py", line 305, in connect\n retry_on_signal(lambda: sock.connect(addr))\n', ' File "/usr/local/lib/python2.7/site-packages/paramiko/util.py", line 269, in retry_on_signal\n return function()\n', ' File "/usr/local/lib/python2.7/site-packages/paramiko/client.py", line 305, in <lambda>\n retry_on_signal(lambda: sock.connect(addr))\n', ' File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 228, in meth\n return getattr(self._sock,name)(*args)\n', 'error: [Errno 51] Network is unreachable\n'] Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/marvin/sshClient.py", line 122, in createConnection allow_agent=False) File "/usr/local/lib/python2.7/site-packages/paramiko/client.py", line 305, in connect retry_on_signal(lambda: sock.connect(addr)) File "/usr/local/lib/python2.7/site-packages/paramiko/util.py", line 269, in retry_on_signal return function() File "/usr/local/lib/python2.7/site-packages/paramiko/client.py", line 305, in <lambda> retry_on_signal(lambda: sock.connect(addr)) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) error: [Errno 51] Network is unreachable ====Trying SSH Connection: Host:192.168.1.103 User:root Port:22 RetryCnt:7=== SshClient: Exception under createConnection: ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/site-packages/marvin/sshClient.py", line 122, in createConnection\n allow_agent=False)\n', ' File "/usr/local/lib/python2.7/site-packages/paramiko/client.py", line 305, in connect\n retry_on_signal(lambda: sock.connect(addr))\n', ' File "/usr/local/lib/python2.7/site-packages/paramiko/util.py", line 269, in retry_on_signal\n return function()\n', ' File "/usr/local/lib/python2.7/site-packages/paramiko/client.py", line 305, in <lambda>\n retry_on_signal(lambda: sock.connect(addr))\n', ' File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 228, in meth\n return getattr(self._sock,name)(*args)\n', 'error: [Errno 51] Network is unreachable\n'] Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/marvin/sshClient.py", line 122, in createConnection allow_agent=False) File "/usr/local/lib/python2.7/site-packages/paramiko/client.py", line 305, in connect retry_on_signal(lambda: sock.connect(addr)) File "/usr/local/lib/python2.7/site-packages/paramiko/util.py", line 269, in retry_on_signal return function() File "/usr/local/lib/python2.7/site-packages/paramiko/client.py", line 305, in <lambda> retry_on_signal(lambda: sock.connect(addr)) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) error: [Errno 51] Network is unreachable ====Trying SSH Connection: Host:192.168.1.103 User:root Port:22 RetryCnt:6=== ===SSH to Host 192.168.1.103 port : 22 SUCCESSFUL=== {Cmd: nslookup google.com via Host: 192.168.1.103} {returns: [u'Server:\t\t10.1.1.1', u'Address:\t10.1.1.1#53', u'', u'Non-authoritative answer:', u'Name:\tgoogle.com', u'Address: 212.39.82.187', u'Name:\tgoogle.com', u'Address: 212.39.82.174', u'Name:\tgoogle.com', u'Address: 212.39.82.152', u'Name:\tgoogle.com', u'Address: 212.39.82.180', u'Name:\tgoogle.com', u'Address: 212.39.82.167', u'Name:\tgoogle.com', u'Address: 212.39.82.181', u'Name:\tgoogle.com', u'Address: 212.39.82.159', u'Name:\tgoogle.com', u'Address: 212.39.82.153', u'Name:\tgoogle.com', u'Address: 212.39.82.146', u'Name:\tgoogle.com', u'Address: 212.39.82.173', u'Name:\tgoogle.com', u'Address: 212.39.82.166', u'Name:\tgoogle.com', u'Address: 212.39.82.160', u'']} === TestName: test_router_dns_guestipquery | Status : SUCCESS === ===final results are now copied to: /tmp//MarvinLogs/test_router_dns_IG8LQP=== ```
--- 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. ---