Rayees Namathponnan created CLOUDSTACK-7240:
-----------------------------------------------
Summary: [Automation] VM destroy not handled properly in
test_persistent_networks
Key: CLOUDSTACK-7240
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7240
Project: CloudStack
Issue Type: Test
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation
Affects Versions: 4.5.0
Environment: KVM
Reporter: Rayees Namathponnan
Priority: Critical
Fix For: 4.5.0
Test cases from
integration.component.test_persistent_networks.TestPersistentNetworks failing
while deleting VMs
Failed to delete VM: 000c4121-d76d-4a51-9644-2109f444ce54 with error Job
failed: {jobprocstatus : 0, created : u'2014-08-03T23:02:29-0700', jobresult :
{errorcode : 530, errortext : u'Unable to find a virtual machine with specified
vmId'}, cmd :
u'org.apache.cloudstack.api.command.admin.vm.DestroyVMCmdByAdmin', userid :
u'e613082a-1a74-11e4-b040-1a6f7bb0d0a8', jobstatus : 2, jobid :
u'4adaf404-083f-4285-afd4-c2a04ef84cf2', jobresultcode : 530, jobinstanceid :
u'000c4121-d76d-4a51-9644-2109f444ce54', jobresulttype : u'object', job
If you look the test case, test case trying to delete the same VM twice
921 # Delete VM
922 virtual_machine.delete(self.api_client, expunge=True)
923
924 # Verify VM is expunged
925 self.verifyVmExpungement(virtual_machine)
-> Method verifyExpungment also trying to delete the VM
--
This message was sent by Atlassian JIRA
(v6.2#6252)