Rayees Namathponnan created CLOUDSTACK-4332:
-----------------------------------------------

             Summary: [Automation][VMware] test_netscaler_lb_algo test case 
failed with error 'ROUNDROBIN' algorithm should be configured on NS
                 Key: CLOUDSTACK-4332
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4332
             Project: CloudStack
          Issue Type: Test
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation, Test
    Affects Versions: 4.2.0
         Environment: Automation
            Reporter: Rayees Namathponnan
             Fix For: 4.2.0


Below test cases failed from  test_netscaler_lb_algo

integration.component.test_netscaler_lb_algo.TestLbAlgoRrLc.test_lb_round_robin_to_least_conn
integration.component.test_netscaler_lb_algo.TestLbAlgoSbLc.test_lb_source_to_least_conn
integration.component.test_netscaler_lb_algo.TestLbAlgoSbRr.test_lb_source_to_round_robin

test cases failed with error 


SSH Access failed for 10.223.240.174: 'ROUNDROBIN' algorithm should be 
configured on NS
-------------------- >> begin captured logging << --------------------
testclient.testcase.TestLbAlgoRrLc: DEBUG: Creating LB rule for IP address: 
10.223.243.39 with round robin algo
testclient.testcase.TestLbAlgoRrLc: DEBUG: Adding 
0e5032f4-7bc1-4baa-b3fe-0cfa83f4f56d to the LB rule SSH
testclient.testcase.TestLbAlgoRrLc: DEBUG: SSH into Netscaler to check whether 
algorithm is configured properly or not?
testclient.testcase.TestLbAlgoRrLc: DEBUG: SSH into netscaler: 10.223.240.174
paramiko.transport: DEBUG: starting thread (client mode): 0xe6ffc90L
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-...@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-...@lysator.liu.se'] client mac:['hmac-md5', 
'hmac-sha1', 'hmac-ripemd160', 'hmac-ripemd...@openssh.com', 'hmac-sha1-96', 
'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 
'hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client 
compress:['none', 'z...@openssh.com'] server compress:['none', 
'z...@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.174: 
d649584fc563d9bf271484c8f3146dc2
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.174 with passwd nsroot
testclient.testcase.TestLbAlgoRrLc: DEBUG: command: show lb vserver 
Cloud-VirtualServer-10.223.243.39-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.39-22 
via Host: 10.223.240.174} {returns: [' Done', 'ERROR: No such resource [name, 
Cloud-VirtualServer-10.223.243.39-22]']}
testclient.testcase.TestLbAlgoRrLc: DEBUG: Output: [' Done', 'ERROR: No such 
resource [name, Cloud-VirtualServer-10.223.243.39-22]']
--------------------- >> 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_algo.py",
 line 935, in test_lb_round_robin_to_least_conn
    (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.174: 'ROUNDROBIN' algorithm should be 
configured on NS

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to