You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rayees Namathponnan (JIRA)" <ji...@apache.org> on 2014/09/20 22:12:34 UTC
[jira] [Closed] (CLOUDSTACK-4766) [Automation]
test_reset_ssh_keypair executing in infinite loop and regression suite hang
[ https://issues.apache.org/jira/browse/CLOUDSTACK-4766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rayees Namathponnan closed CLOUDSTACK-4766.
-------------------------------------------
Verified with 4.5
> [Automation] test_reset_ssh_keypair executing in infinite loop and regression suite hang
> ----------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4766
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4766
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Automation
> Affects Versions: 4.2.1
> Environment: Automation advanced zone
> Reporter: Rayees Namathponnan
> Assignee: Girish Shilamkar
> Priority: Blocker
> Fix For: 4.2.1
>
>
> Few test cases from test_reset_ssh_keypair.py suite executing infinite loop hang automation
> See the below code from test_reset_ssh_keypair.py, here test case checking VM's state in every 60 sec, due to some reason if this vm never comes to running; this code will execute in a loop
> 578 while True:
> 579 vms = VirtualMachine.list(
> 580 self.apiclient,
> 581 account=self.account.name,
> 582 domainid=self.account.domainid,
> 583 listall=True
> 584 )
> 585 if vms[0].state == "Running":
> 586 break
> 587 self.debug("Vm not in Running state sleep 60s")
> 588 time.sleep(60)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)