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

Rayees Namathponnan closed CLOUDSTACK-3692.
-------------------------------------------

    Resolution: Fixed

Not found in latest runs

> Test case test_netscaler_lb.TestVmWithLb.test_06_destroy_user_vm failed 
> ------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3692
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3692
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation
>    Affects Versions: 4.2.0
>         Environment: KVM and VMware, advanced zone
> 4.2
>            Reporter: Rayees Namathponnan
>            Assignee: Sowmya Krishnan
>             Fix For: 4.3.0
>
>         Attachments: MSlog.rar
>
>
> Failed with below stack trace 
> SSH Access failed for 10.223.52.5: The server should not be present in 
> netscaler after destroy
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestVmWithLb: DEBUG: Destroying VM instance: 
> ec812279-bceb-4d6b-9b8c-54320346bc25
> testclient.testcase.TestVmWithLb: DEBUG: Destroying VM: 
> ec812279-bceb-4d6b-9b8c-54320346bc25
> testclient.testcase.TestVmWithLb: DEBUG: Verifying request served by only 
> running instances
> testclient.testcase.TestVmWithLb: DEBUG: Command: hostname
> 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: hostname via Host: 10.223.122.96} {returns: 
> ['9793f67d-bac4-4dd3-bf7c-e2d837b66e6e']}
> testclient.testcase.TestVmWithLb: DEBUG: Output: 
> ['9793f67d-bac4-4dd3-bf7c-e2d837b66e6e']
> paramiko.transport: DEBUG: starting thread (client mode): 0x11405350L
> paramiko.transport: INFO: Connected (version 2.0, client OpenSSH_4.3)
> paramiko.transport: DEBUG: kex algos:['diffie-hellman-group-exchange-sha1', 
> 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server 
> key:['ssh-rsa', 'ssh-dss'] client encrypt:['aes128-cbc', '3des-cbc', 
> 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256', 'arcfour', 
> 'aes192-cbc', 'aes256-cbc', '[email protected]', 'aes128-ctr', 
> 'aes192-ctr', 'aes256-ctr'] server encrypt:['aes128-cbc', '3des-cbc', 
> 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256', 'arcfour', 
> 'aes192-cbc', 'aes256-cbc', '[email protected]', 'aes128-ctr', 
> 'aes192-ctr', 'aes256-ctr'] client mac:['hmac-md5', 'hmac-sha1', 
> 'hmac-ripemd160', '[email protected]', 'hmac-sha1-96', 
> 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 
> '[email protected]', 'hmac-sha1-96', 'hmac-md5-96'] client 
> compress:['none', '[email protected]'] server compress:['none', 
> '[email protected]'] 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.122.96: 
> 0f8b3ff9dc4dce10340227dab3cac032
> paramiko.transport: DEBUG: Trying discovered key 
> 76be480fa6b8ad3b78082d6d19e4ee44 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: [email protected] with passwd password
> paramiko.transport: DEBUG: EOF in transport thread
> testclient.testcase.TestVmWithLb: DEBUG: Command: hostname
> 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: hostname via Host: 10.223.122.96} {returns: 
> ['9793f67d-bac4-4dd3-bf7c-e2d837b66e6e']}
> testclient.testcase.TestVmWithLb: DEBUG: Output: 
> ['9793f67d-bac4-4dd3-bf7c-e2d837b66e6e']
> testclient.testcase.TestVmWithLb: DEBUG: Hostnames: 
> [['9793f67d-bac4-4dd3-bf7c-e2d837b66e6e'], 
> ['9793f67d-bac4-4dd3-bf7c-e2d837b66e6e']]
> testclient.testcase.TestVmWithLb: DEBUG: SSH into Netscaler to rules still 
> persist
> paramiko.transport: DEBUG: starting thread (client mode): 0x11425cd0L
> 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', '[email protected]'] server 
> encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 
> 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 
> 'aes192-cbc', 'aes256-cbc', 'arcfour', '[email protected]'] client 
> mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', '[email protected]', 
> 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 
> 'hmac-ripemd160', '[email protected]', 'hmac-sha1-96', 
> 'hmac-md5-96'] client compress:['none', '[email protected]'] server 
> compress:['none', '[email protected]'] 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.52.5: 
> cf48acd57937ac07c11cd8c924384f71
> paramiko.transport: DEBUG: Trying discovered key 
> 76be480fa6b8ad3b78082d6d19e4ee44 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: [email protected] with passwd nsroot
> testclient.testcase.TestVmWithLb: DEBUG: command: show server
> 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 server via Host: 10.223.52.5} {returns: [' 
> Done', '1)\tName:   Cloud-Server--10.1.113.71      State:ENABLED', 
> '\tIPAddress:     10.1.113.71', '2)\tName:   Cloud-Server--10.1.112.108      
> State:ENABLED', '\tIPAddress:    10.1.112.108', ' Done']}
> testclient.testcase.TestVmWithLb: DEBUG: Output: [' Done', '1)\tName:   
> Cloud-Server--10.1.113.71      State:ENABLED', '\tIPAddress:     
> 10.1.113.71', '2)\tName:   Cloud-Server--10.1.112.108      State:ENABLED', 
> '\tIPAddress:    10.1.112.108', ' Done']
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File 
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_netscaler_lb.py", 
> line 2911, in test_06_destroy_user_vm
>     (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.52.5: The server should not be present in 
> netscaler after destroy



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

Reply via email to