You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Girish Shilamkar (JIRA)" <ji...@apache.org> on 2013/12/19 05:47:08 UTC

[jira] [Resolved] (CLOUDSTACK-4695) [Automation] test cases from test_netscaler_lb failed during ssh connection in vmware

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-4695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Girish Shilamkar resolved CLOUDSTACK-4695.
------------------------------------------

    Resolution: Cannot Reproduce

Problem not see in latest runs.

> [Automation] test cases from test_netscaler_lb failed during ssh connection in vmware
> -------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4695
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4695
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation, Test
>    Affects Versions: 4.2.1
>         Environment: Automation 
> Netscaler
> Vmware
>            Reporter: Rayees Namathponnan
>            Assignee: Girish Shilamkar
>             Fix For: 4.3.0
>
>
> Below two test cases failing with vmware runs, test cases failed while ssh connection 
> integration.component.test_netscaler_lb.TestVmWithLb.test_07_delete_all_public_ip
> Error Message
> SSH Access failed for 10.223.240.175: Virtual server should get deleted after removing LB rule
> -------------------- >> begin captured logging << --------------------
> test_07_delete_all_public_ip (integration.component.test_netscaler_lb.TestVmWithLb): DEBUG: Deleting public IP: 10.223.243.5 from network: Netscaler
> paramiko.transport: ERROR: Socket exception: Connection reset by peer (104)
> test_07_delete_all_public_ip (integration.component.test_netscaler_lb.TestVmWithLb): DEBUG: Public Ip: 10.223.243.5 is deleted!
> test_07_delete_all_public_ip (integration.component.test_netscaler_lb.TestVmWithLb): DEBUG: SSH into Netscaler to verify other resources are deleted
> paramiko.transport: DEBUG: starting thread (client mode): 0x67b7e50L
> paramiko.transport: INFO: Connected (version 2.0, client OpenSSH_4.5p1)
> paramiko.transport: DEBUG: kex algos:['diffie-hellman-group-exchange-sha256', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijndael-cbc@lysator.liu.se'] server encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijndael-cbc@lysator.liu.se'] client mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 'hmac-ripemd160@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 'hmac-ripemd160@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none', 'zlib@openssh.com'] server compress:['none', 'zlib@openssh.com'] client lang:[''] server lang:[''] kex follows?False
> paramiko.transport: DEBUG: Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
> paramiko.transport: DEBUG: using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none
> paramiko.transport: DEBUG: Switch to new keys ...
> paramiko.transport: DEBUG: Adding ssh-rsa host key for 10.223.240.175: 1d39643cb21d810dc0c0fdf2312f93eb
> paramiko.transport: DEBUG: Trying discovered key d73731e045a189d941928d25f66aa458 in /root/.ssh/id_rsa
> paramiko.transport: DEBUG: userauth is OK
> paramiko.transport: INFO: Authentication (publickey) failed.
> paramiko.transport: DEBUG: userauth is OK
> paramiko.transport: INFO: Authentication (password) successful!
> sshClient: DEBUG: SSH connect: nsroot@10.223.240.175 with passwd nsroot
> test_07_delete_all_public_ip (integration.component.test_netscaler_lb.TestVmWithLb): DEBUG: command: show lb vserver Cloud-VirtualServer-10.223.243.5-22
> paramiko.transport: DEBUG: [chan 1] Max packet in: 34816 bytes
> paramiko.transport: DEBUG: [chan 1] Max packet out: 32768 bytes
> paramiko.transport: INFO: Secsh channel 1 opened.
> paramiko.transport: DEBUG: [chan 1] Sesch channel 1 request ok
> paramiko.transport: DEBUG: [chan 1] EOF received (1)
> paramiko.transport: DEBUG: [chan 1] EOF sent (1)
> sshClient: DEBUG: {Cmd: show lb vserver Cloud-VirtualServer-10.223.243.5-22 via Host: 10.223.240.175} {returns: [' Done', 'ERROR: No such resource [name, Cloud-VirtualServer-10.223.243.5-22]']}
> test_07_delete_all_public_ip (integration.component.test_netscaler_lb.TestVmWithLb): DEBUG: Output: [' Done', 'ERROR: No such resource [name, Cloud-VirtualServer-10.223.243.5-22]']
> test_07_delete_all_public_ip (integration.component.test_netscaler_lb.TestVmWithLb): DEBUG: command: show ip
> paramiko.transport: DEBUG: [chan 2] Max packet in: 34816 bytes
> paramiko.transport: DEBUG: [chan 2] Max packet out: 32768 bytes
> paramiko.transport: INFO: Secsh channel 2 opened.
> paramiko.transport: DEBUG: [chan 2] Sesch channel 2 request ok
> paramiko.transport: DEBUG: [chan 2] EOF received (2)
> paramiko.transport: DEBUG: [chan 2] EOF sent (2)
> sshClient: DEBUG: {Cmd: show ip via Host: 10.223.240.175} {returns: [' Done', '  \tIpaddress        Type             Mode     Arp      Icmp     Vserver  State', '  \t---------        ----             ----     ---      ----     -------  ------', '1)\t10.223.240.175   NetScaler IP     Active   Enabled  Enabled  NA       Enabled', '2)\t10.223.243.59    SNIP             Active   Enabled  Enabled  NA       Enabled', '3)\t10.0.192.21      SNIP             Active   Enabled  Enabled  NA       Enabled', ' Done']}
> test_07_delete_all_public_ip (integration.component.test_netscaler_lb.TestVmWithLb): DEBUG: Output: [' Done', '  \tIpaddress        Type             Mode     Arp      Icmp     Vserver  State', '  \t---------        ----             ----     ---      ----     -------  ------', '1)\t10.223.240.175   NetScaler IP     Active   Enabled  Enabled  NA       Enabled', '2)\t10.223.243.59    SNIP             Active   Enabled  Enabled  NA       Enabled', '3)\t10.0.192.21      SNIP             Active   Enabled  Enabled  NA       Enabled', ' Done']
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/data/Repo2/qa/cloudstack/test/integration/component/test_netscaler_lb.py", line 2972, in test_07_delete_all_public_ip
>     (self.services["netscaler"]["ipaddress"], e))
>   File "/usr/local/lib/python2.7/unittest/case.py", line 393, in fail
>     raise self.failureException(msg)
> SSH Access failed for 10.223.240.175: Virtual server should get deleted after removing LB rule
> -------------------- >> begin captured logging << --------------------
> test_07_delete_all_public_ip (integration.component.test_netscaler_lb.TestVmWithLb): DEBUG: Deleting public IP: 10.223.243.5 from network: Netscaler
> paramiko.transport: ERROR: Socket exception: Connection reset by peer (104)
> test_07_delete_all_public_ip (integration.component.test_netscaler_lb.TestVmWithLb): DEBUG: Public Ip: 10.223.243.5 is deleted!
> test_07_delete_all_public_ip (integration.component.test_netscaler_lb.TestVmWithLb): DEBUG: SSH into Netscaler to verify other resources are deleted
> paramiko.transport: DEBUG: starting thread (client mode): 0x67b7e50L
> paramiko.transport: INFO: Connected (version 2.0, client OpenSSH_4.5p1)
> paramiko.transport: DEBUG: kex algos:['diffie-hellman-group-exchange-sha256', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijndael-cbc@lysator.liu.se'] server encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijndael-cbc@lysator.liu.se'] client mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 'hmac-ripemd160@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 'hmac-ripemd160@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none', 'zlib@openssh.com'] server compress:['none', 'zlib@openssh.com'] client lang:[''] server lang:[''] kex follows?False
> paramiko.transport: DEBUG: Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
> paramiko.transport: DEBUG: using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none
> paramiko.transport: DEBUG: Switch to new keys ...
> paramiko.transport: DEBUG: Adding ssh-rsa host key for 10.223.240.175: 1d39643cb21d810dc0c0fdf2312f93eb
> paramiko.transport: DEBUG: Trying discovered key d73731e045a189d941928d25f66aa458 in /root/.ssh/id_rsa
> paramiko.transport: DEBUG: userauth is OK
> paramiko.transport: INFO: Authentication (publickey) failed.
> paramiko.transport: DEBUG: userauth is OK
> paramiko.transport: INFO: Authentication (password) successful!
> sshClient: DEBUG: SSH connect: nsroot@10.223.240.175 with passwd nsroot
> test_07_delete_all_public_ip (integration.component.test_netscaler_lb.TestVmWithLb): DEBUG: command: show lb vserver Cloud-VirtualServer-10.223.243.5-22
> paramiko.transport: DEBUG: [chan 1] Max packet in: 34816 bytes
> paramiko.transport: DEBUG: [chan 1] Max packet out: 32768 bytes
> paramiko.transport: INFO: Secsh channel 1 opened.
> paramiko.transport: DEBUG: [chan 1] Sesch channel 1 request ok
> paramiko.transport: DEBUG: [chan 1] EOF received (1)
> paramiko.transport: DEBUG: [chan 1] EOF sent (1)
> sshClient: DEBUG: {Cmd: show lb vserver Cloud-VirtualServer-10.223.243.5-22 via Host: 10.223.240.175} {returns: [' Done', 'ERROR: No such resource [name, Cloud-VirtualServer-10.223.243.5-22]']}
> test_07_delete_all_public_ip (integration.component.test_netscaler_lb.TestVmWithLb): DEBUG: Output: [' Done', 'ERROR: No such resource [name, Cloud-VirtualServer-10.223.243.5-22]']
> test_07_delete_all_public_ip (integration.component.test_netscaler_lb.TestVmWithLb): DEBUG: command: show ip
> paramiko.transport: DEBUG: [chan 2] Max packet in: 34816 bytes
> paramiko.transport: DEBUG: [chan 2] Max packet out: 32768 bytes
> paramiko.transport: INFO: Secsh channel 2 opened.
> paramiko.transport: DEBUG: [chan 2] Sesch channel 2 request ok
> paramiko.transport: DEBUG: [chan 2] EOF received (2)
> paramiko.transport: DEBUG: [chan 2] EOF sent (2)
> sshClient: DEBUG: {Cmd: show ip via Host: 10.223.240.175} {returns: [' Done', '  \tIpaddress        Type             Mode     Arp      Icmp     Vserver  State', '  \t---------        ----             ----     ---      ----     -------  ------', '1)\t10.223.240.175   NetScaler IP     Active   Enabled  Enabled  NA       Enabled', '2)\t10.223.243.59    SNIP             Active   Enabled  Enabled  NA       Enabled', '3)\t10.0.192.21      SNIP             Active   Enabled  Enabled  NA       Enabled', ' Done']}
> test_07_delete_all_public_ip (integration.component.test_netscaler_lb.TestVmWithLb): DEBUG: Output: [' Done', '  \tIpaddress        Type             Mode     Arp      Icmp     Vserver  State', '  \t---------        ----             ----     ---      ----     -------  ------', '1)\t10.223.240.175   NetScaler IP     Active   Enabled  Enabled  NA       Enabled', '2)\t10.223.243.59    SNIP             Active   Enabled  Enabled  NA       Enabled', '3)\t10.0.192.21      SNIP             Active   Enabled  Enabled  NA       Enabled', ' Done']
> --------------------- >> end captured logging << ---------------------



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)