cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rayees Namathponnan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-4996) [Automation] test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC Test case failed with ssh connection error
Date Wed, 30 Oct 2013 06:17:26 GMT
Rayees Namathponnan created CLOUDSTACK-4996:
-----------------------------------------------

             Summary: [Automation] test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC Test
case failed with ssh connection error 
                 Key: CLOUDSTACK-4996
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4996
             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
            Reporter: Rayees Namathponnan
             Fix For: 4.2.1


Below test cases failing with ssh connection error


integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC.test_01_deploy_instance_in_network
integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC.test_02_stop_instance_in_network

integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC.test_03_start_instance_in_network
integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC.test_04_reboot_instance_in_network
integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC.test_05_destroy_instance_in_network

integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC.test_07_migrate_instance_in_network
 integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC.test_06_recover_instance_in_network
integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC.test_10_expunge_instance_in_network



Test cases failed with below error

Error Message

Failed to SSH into VM - 10.223.122.75, Ping to VM gateway should be successful
-------------------- >> begin captured logging << --------------------
test_01_deploy_instance_in_network (integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC):
DEBUG: Check if deployed VMs are in running state?
test_01_deploy_instance_in_network (integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC):
DEBUG: VM name: 391a3a7c-0475-489f-addb-af4864ffc70a, VM state: Running
test_01_deploy_instance_in_network (integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC):
DEBUG: VM name: de39b336-f6be-489a-b619-86a5d0219455, VM state: Running
test_01_deploy_instance_in_network (integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC):
DEBUG: VM name: f26fb4e1-8d90-4203-bc64-d9cabf59f66e, VM state: Running
test_01_deploy_instance_in_network (integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC):
DEBUG: Validating if network rules are coonfigured properly?
test_01_deploy_instance_in_network (integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC):
DEBUG: Checking if we can SSH into VM_1 through 10.223.122.75?
paramiko.transport: DEBUG: starting thread (client mode): 0xc9c2bd0L
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', 'rijndael-cbc@lysator.liu.se', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr'] server
encrypt:['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256',
'arcfour', 'aes192-cbc', 'aes256-cbc', 'rijndael-cbc@lysator.liu.se', 'aes128-ctr', 'aes192-ctr',
'aes256-ctr'] 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.122.75: 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: root@10.223.122.75 with passwd password
test_01_deploy_instance_in_network (integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC):
DEBUG: SSH into VM is successfully
test_01_deploy_instance_in_network (integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC):
DEBUG: Verifying if we can ping to outside world from VM?
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: ping -c 1 www.google.com via Host: 10.223.122.75} {returns: ['PING
www.google.com (74.125.239.52) 56(84) bytes of data.', '64 bytes from nuq04s19-in-f20.1e100.net
(74.125.239.52): icmp_seq=1 ttl=48 time=5.98 ms', '', '--- www.google.com ping statistics
---', '1 packets transmitted, 1 received, 0% packet loss, time 0ms', 'rtt min/avg/max/mdev
= 5.988/5.988/5.988/0.000 ms']}
test_01_deploy_instance_in_network (integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC):
DEBUG: We should be allowed to ping virtual gateway
test_01_deploy_instance_in_network (integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC):
DEBUG: VM gateway: 10.1.2.1
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: ping -c 1 10.1.2.1 via Host: 10.223.122.75} {returns: ['PING 10.1.2.1
(10.1.2.1) 56(84) bytes of data.', '', '--- 10.1.2.1 ping statistics ---', '1 packets transmitted,
0 received, 100% packet loss, time 0ms', '']}
test_01_deploy_instance_in_network (integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleSharedNwVPC):
DEBUG: ping -c 1 10.1.2.1: ['PING 10.1.2.1 (10.1.2.1) 56(84) bytes of data.', '', '--- 10.1.2.1
ping statistics ---', '1 packets transmitted, 0 received, 100% packet loss, time 0ms', '']
--------------------- >> 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_vpc_vm_life_cycle.py", line
1246, in test_01_deploy_instance_in_network
    self.validate_network_rules()
  File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_vpc_vm_life_cycle.py", line
1211, in validate_network_rules
    (self.public_ip_1.ipaddress.ipaddress, e))
  File "/usr/local/lib/python2.7/unittest/case.py", line 393, in fail
    raise self.failureException(msg)
Failed to SSH into VM - 10.223.122.75, Ping to VM gateway should be successful



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message