Rayees Namathponnan created CLOUDSTACK-4766:
-----------------------------------------------

             Summary: [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
            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)

Reply via email to