[ https://issues.apache.org/jira/browse/CLOUDSTACK-4766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Girish Shilamkar reassigned CLOUDSTACK-4766: -------------------------------------------- Assignee: Girish Shilamkar > [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.1#6144)