[ https://issues.apache.org/jira/browse/CLOUDSTACK-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13886442#comment-13886442 ]
Girish Shilamkar commented on CLOUDSTACK-5980: ---------------------------------------------- Santhosh, I have seen this problem before intermittently before. ssh client errors out with this message when the server responds with invalid data. I would good to have your inputs too, how we can solve this problem. Thanks, Girish > [Automation] Few of the test cases failing with ssh connection error > --------------------------------------------------------------------- > > Key: CLOUDSTACK-5980 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5980 > Project: CloudStack > Issue Type: Test > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Automation > Affects Versions: 4.4.0 > Reporter: Rayees Namathponnan > Assignee: Santhosh Kumar Edukulla > Priority: Critical > Fix For: 4.4.0 > > > During regression automation there are many few failures observed with ssh > connection error, theses are in consistent failures > integration.component.test_routers.TestRouterStopCreateLB.test_01_RouterStopCreateLB > integration.component.test_routers.TestRouterStopCreatePF.test_01_RouterStopCreatePF > > integration.component.test_reset_ssh_keypair.TestResetSSHKeyUserRights.test_01_reset_keypair_normal_user > integration.component.test_reset_ssh_keypair.TestResetSSHKeyUserRights.test_02_reset_keypair_domain_admin > integration.component.test_reset_ssh_keypair.TestResetSSHKeyUserRights.test_03_reset_keypair_root_admin > > f8a2c2dd1b88","netmask":"255.255.255.192","gateway":"10.223.250.129","ipaddress":"10.223.250.168","traffictype":"Control","isdefault":false,"macaddress":"02:00:09:71:00:7d"},{"id":"5ae069a3-77c0-436f-8a05-4ff56452c4d4","networkid":"a6065702-0f58-49ac-b30d-66b3d3f93700","netmask":"255.255.255.192","gateway":"10.223.243.1","ipaddress":"10.223.243.9","isolationuri":"vlan://510","broadcasturi":"vlan://510","traffictype":"Public","isdefault":true,"macaddress":"06:0d:68:00:00:42"}],"requiresupgrade":false} > ] } } > test_01_RouterStopCreateLB > (integration.component.test_routers.TestRouterStopCreateLB): DEBUG: sending > GET request: listLoadBalancerRules {'id': > u'8f9349f6-985a-474a-9ef2-f9e045aa2350'} > test_01_RouterStopCreateLB > (integration.component.test_routers.TestRouterStopCreateLB): DEBUG: Computed > Signature by Marvin: bxrcQXdALtkpYJUr8Bb6Xj/z9VA= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.49.197 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=sEIJOX2sCcNKsFX1H1nHtv21quPDyH4MH4g00jSWB0ja0Gv9ydEPmz1igbhPTOEy-1hfQwONxcIpME0Jbs-mhA&response=json&command=listLoadBalancerRules&signature=bxrcQXdALtkpYJUr8Bb6Xj%2Fz9VA%3D&id=8f9349f6-985a-474a-9ef2-f9e045aa2350 > HTTP/1.1" 200 561 > test_01_RouterStopCreateLB > (integration.component.test_routers.TestRouterStopCreateLB): DEBUG: Request: > http://10.223.49.197:8080/client/api?apiKey=sEIJOX2sCcNKsFX1H1nHtv21quPDyH4MH4g00jSWB0ja0Gv9ydEPmz1igbhPTOEy-1hfQwONxcIpME0Jbs-mhA&response=json&command=listLoadBalancerRules&signature=bxrcQXdALtkpYJUr8Bb6Xj%2Fz9VA%3D&id=8f9349f6-985a-474a-9ef2-f9e045aa2350 > Response: { "listloadbalancerrulesresponse" : { "count":1 > ,"loadbalancerrule" : [ > {"id":"8f9349f6-985a-474a-9ef2-f9e045aa2350","name":"SSH","publicipid":"1147f463-a00d-4e9a-b074-451a3a846049","publicip":"10.223.243.9","publicport":"22","privateport":"22","algorithm":"roundrobin","networkid":"eae149ca-164e-48e7-9c24-930d496b583e","cidrlist":"","account":"testuser-TestRouterStopCreatePF-test_01_RouterStopCreateFW-TR58KE","domainid":"477d0e84-887c-11e3-9c62-52b2d980df8a","domain":"ROOT","state":"Active","zoneid":"2e0b40d3-05b1-4b7d-9f24-860efbd1767b","tags":[]} > ] } } > test_01_RouterStopCreateLB > (integration.component.test_routers.TestRouterStopCreateLB): DEBUG: SSH into > VM with IP: 10.223.243.9 > sshClient: DEBUG: SSH Connection: Host:10.223.243.9 User:root > Port:22 > paramiko.transport: DEBUG: starting thread (client mode): 0x2b22f90L > paramiko.transport: ERROR: Exception: Error reading SSH protocol banner > paramiko.transport: ERROR: Traceback (most recent call last): > paramiko.transport: ERROR: File > "/usr/local/lib/python2.7/site-packages/paramiko/transport.py", line 1557, in > run > paramiko.transport: ERROR: self._check_banner() > paramiko.transport: ERROR: File > "/usr/local/lib/python2.7/site-packages/paramiko/transport.py", line 1683, in > _check_banner > paramiko.transport: ERROR: raise SSHException('Error reading SSH protocol > banner' + str(x)) > paramiko.transport: ERROR: SSHException: Error reading SSH protocol banner > paramiko.transport: ERROR: > sshClient: DEBUG: SSH Connection: Host:10.223.243.9 User:root > Port:22 > paramiko.transport: DEBUG: starting thread (client mode): 0x2c5c6d0L > paramiko.transport: ERROR: Exception: Error reading SSH protocol banner > paramiko.transport: ERROR: Traceback (most recent call last): > paramiko.transport: ERROR: File > "/usr/local/lib/python2.7/site-packages/paramiko/transport.py", line 1557, in > run > paramiko.transport: ERROR: self._check_banner() > paramiko.transport: ERROR: File > "/usr/local/lib/python2.7/site-packages/paramiko/transport.py", line 1683, in > _check_banner > paramiko.transport: ERROR: raise SSHException('Error reading SSH protocol > banner' + str(x)) > paramiko.transport: ERROR: SSHException: Error reading SSH protocol banner > paramiko.transport: ERROR: > sshClient: DEBUG: SSH Connection: Host:10.223.243.9 User:root > Port:22 > paramiko.transport: DEBUG: starting thread (client mode): 0x2b22f90L > paramiko.transport: ERROR: Exception: Error reading SSH protocol banner > paramiko.transport: ERROR: Traceback (most recent call last): > paramiko.transport: ERROR: File > "/usr/local/lib/python2.7/site-packages/paramiko/transport.py", line 1557, in > run > paramiko.transport: ERROR: self._check_banner() > paramiko.transport: ERROR: File > "/usr/local/lib/python2.7/site-packages/paramiko/transport.py", line 1683, in > _check_banner > paramiko.transport: ERROR: raise SSHException('Error reading SSH protocol > banner' + str(x)) > paramiko.transport: ERROR: SSHException: Error reading SSH protocol banner > paramiko.transport: ERROR: > sshClient: DEBUG: SSH Connection: Host:10.223.243.9 User:root > Port:22 > paramiko.transport: DEBUG: starting thread (client mode): 0x2c5c6d0L > paramiko.transport: ERROR: Exception: Error reading SSH protocol banner > paramiko.transport: ERROR: Traceback (most recent call last): > paramiko.transport: ERROR: File > "/usr/local/lib/python2.7/site-packages/paramiko/transport.py", line 1557, in > run > paramiko.transport: ERROR: self._check_banner() > paramiko.transport: ERROR: File > "/usr/local/lib/python2.7/site-packages/paramiko/transport.py", line 1683, in > _check_banner > paramiko.transport: ERROR: raise SSHException('Error reading SSH protocol > banner' + str(x)) > paramiko.transport: ERROR: SSHException: Error reading SSH protocol banner > paramiko.transport: ERROR: > sshClient: DEBUG: SSH Connection: Host:10.223.243.9 User:root > Port:22 > paramiko.transport: DEBUG: starting thread (client mode): 0x2b22f90L > paramiko.transport: ERROR: Exception: Error reading SSH protocol banner > paramiko.transport: ERROR: Traceback (most recent call last): > paramiko.transport: ERROR: File > "/usr/local/lib/python2.7/site-packages/paramiko/transport.py", line 1557, in > run > paramiko.transport: ERROR: self._check_banner() > paramiko.transport: ERROR: File > "/usr/local/lib/python2.7/site-packages/paramiko/transport.py", line 1683, in > _check_banner > paramiko.transport: ERROR: raise SSHException('Error reading SSH protocol > banner' + str(x)) > paramiko.transport: ERROR: SSHException: Error reading SSH protocol banner -- This message was sent by Atlassian JIRA (v6.1.5#6160)