[
https://issues.apache.org/jira/browse/CLOUDSTACK-2899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13714185#comment-13714185
]
Rayees Namathponnan commented on CLOUDSTACK-2899:
-------------------------------------------------
This issue found with today's KVM run also
Check Expunged virtual machine is in listVirtualMachines response
-------------------- >> begin captured logging << --------------------
testclient.testcase.TestVMLifeCycle: DEBUG: Expunge VM-ID:
06bf20bf-1707-4c05-b8c1-ca259c2cabfd
testclient.testcase.TestVMLifeCycle: DEBUG: listVirtualMachines response:
[{domain : u'ROOT', domainid : u'fd955b80-f043-11e2-9abc-1a6f7bb0d0a8',
haenable : False, templatename : u'CentOS 5.5(64-bit) no GUI (KVM)', diskioread
: 1697, diskiowrite : 26, securitygroup : [], zoneid :
u'4e844624-4432-4ce8-9446-3e33502e3564', cpunumber : 1, passwordenabled :
False, instancename : u'i-7-16-VM', id :
u'06bf20bf-1707-4c05-b8c1-ca259c2cabfd', networkkbswrite : 1, displayvm : True,
state : u'Destroyed', guestosid : u'fe18ba2a-f043-11e2-9abc-1a6f7bb0d0a8',
cpuused : u'0%', memory : 256, serviceofferingid :
u'ed200b13-fc11-4bb6-9ae0-44b7addf6520', zonename : u'Adv-KVM-Zone1',
isdynamicallyscalable : False, displayname : u'testserver', tags : [],
diskkbsread : 39382, nic : [{networkid :
u'908a5002-a8e4-4ff1-977d-8102fde6a933', macaddress : u'02:00:0e:25:00:01',
type : u'Isolated', id : u'6a1a1d8d-011f-44db-9c86-ca47c441b4ab', traffictype :
u'Guest', netmask : u'255.255.255.0', ipaddress : u'10.1.1.96', networkname :
u'test-1DEGOP-network', gateway : u'10.1.1.1', isdefault : True}], cpuspeed :
100, diskkbswrite : 638, templateid : u'fd99a230-f043-11e2-9abc-1a6f7bb0d0a8',
affinitygroup : [], account : u'test-1DEGOP', name :
u'06bf20bf-1707-4c05-b8c1-ca259c2cabfd', networkkbsread : 5, created :
u'2013-07-19T03:49:50-0400', hypervisor : u'KVM', rootdevicetype : u'ROOT',
rootdeviceid : 0, serviceofferingname : u'Small Instance', templatedisplaytext
: u'CentOS 5.5(64-bit) no GUI (KVM)'}]
--------------------- >> 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/smoke/test_vm_life_cycle.py", line
695, in test_09_expunge_vm
"Check Expunged virtual machine is in listVirtualMachines response"
File "/usr/local/lib/python2.7/unittest/case.py", line 494, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/lib/python2.7/unittest/case.py", line 487, in
_baseAssertEqual
raise self.failureException(msg)
Check Expunged virtual machine is in listVirtualMachines response
> [Automation] Test case "test_vm_life_cycle.py:test_09_expunge_vm" failing
> --------------------------------------------------------------------------
>
> Key: CLOUDSTACK-2899
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2899
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Affects Versions: 4.2.0
> Environment: Master
> Automation
> Reporter: Rayees Namathponnan
> Priority: Blocker
> Fix For: 4.2.0
>
>
> Test case test_vm_life_cycle.py:test_09_expunge_vm failing with below
> File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
> testMethod()
> File
> "/Repo_30X/ipcl/cloudstack/test/integration/smoke/test_vm_life_cycle.py",
> line 693, in test_09_expunge_vm
> "Check Expunged virtual machine is listVirtualMachines"
> File "/usr/local/lib/python2.7/unittest/case.py", line 494, in assertEqual
> assertion_func(first, second, msg=msg)
> File "/usr/local/lib/python2.7/unittest/case.py", line 487, in
> _baseAssertEqual
> raise self.failureException(msg)
> Check Expunged virtual machine is listVirtualMachines
> We need to wait async jobs to complete before checking
> The problem is also seen via UI too.
> 1. Create an vm.
> 2. Destroy vm.
> 3. VM is never expunged even after expunge interval has lapsed.
> Note: This is an intermittent bug and only seen with KVM.
--
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