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

Prasanna Santhanam resolved CLOUDSTACK-3931.
--------------------------------------------

    Resolution: Fixed
      Assignee: Sheng Yang

commit a3292231ddddffe2c564d1318b111d40a4168138
Author: Sheng Yang <[email protected]>
Date:   Thu Aug 1 17:29:35 2013 -0700

    Automation: Reconnect the ssh for test_vpc_vm_life_cycle.py
    
    Since VM are reused for test cases, we need to reconnect the SSH client to 
avoid
    error like:
    
    Failed to SSH into VM, SSH session not active

test/integration/component/test_vpc_vm_life_cycle.py

                
> [Automation] Test case test_vpc_vm_life_cycle.TestVMLifeCycleStoppedVPCVR 
> failed due to SSH session not active
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3931
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3931
>             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
>            Assignee: Sheng Yang
>             Fix For: 4.2.0
>
>
> test cases failed from test_vpc_vm_life_cycle, due to SSH session not active
> i) 
> integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleStoppedVPCVR.test_04_reboot_instance_in_network
>  
> ii) 
> integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleStoppedVPCVR.test_07_migrate_instance_in_network
> iii)integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleStoppedVPCVR.test_08_user_data
> iv) 
> integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleStoppedVPCVR.test_09_meta_data
>  
> v) 
> integration.component.test_vpc_vm_life_cycle.TestVMLifeCycleStoppedVPCVR.test_10_expunge_instance_in_network
>  
> All above test cases failed with below error 
> Failed to SSH into VM - 10.223.122.76, SSH session not active
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestVMLifeCycleStoppedVPCVR: DEBUG: Check the status of 
> VPC virtual router
> testclient.testcase.TestVMLifeCycleStoppedVPCVR: DEBUG: Validating if the 
> network rules work properly or not?
> testclient.testcase.TestVMLifeCycleStoppedVPCVR: DEBUG: SSH into VM is 
> successfully
> testclient.testcase.TestVMLifeCycleStoppedVPCVR: DEBUG: Verifying if we can 
> ping to outside world from VM?
> --------------------- >> 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 2702, in test_10_expunge_instance_in_network
>     self.validate_network_rules()
>   File 
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_vpc_vm_life_cycle.py",
>  line 2302, 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.76, SSH session not active
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestVMLifeCycleStoppedVPCVR: DEBUG: Check the status of 
> VPC virtual router
> testclient.testcase.TestVMLifeCycleStoppedVPCVR: DEBUG: Validating if the 
> network rules work properly or not?
> testclient.testcase.TestVMLifeCycleStoppedVPCVR: DEBUG: SSH into VM is 
> successfully
> testclient.testcase.TestVMLifeCycleStoppedVPCVR: DEBUG: Verifying if we can 
> ping to outside world from VM?
> --------------------- >> end captured logging << ---------------------

--
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