Umesh Kute created CLOUDSTACK-6077:
--------------------------------------
Summary: [Automation]: Error: ERROR: Test as domain admin, stop a
VM from subdomain1 and attempt to move it to subdomain2 in test_assign_vm.py
Key: CLOUDSTACK-6077
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6077
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation, marvin
Reporter: Umesh Kute
1. Error occurred in test_assign_vm.py script
Results:
-----------
Test as root, stop a VM from domain1 and attempt to move it to account in
domain2 ... ok
Test as root, stop a VM from subdomain1 and attempt to move it to subdomain2
... ok
Test as root stop a VM from domain1 and attempt to move it to subdomain1 ... ok
Test as root, stop a VM from domain1 and attempt to move it to sub-subdomain1
... ok
Test as root, stop a VM from sub-subdomain1 and attempt to move it to domain1
... ok
Test as root, stop a Vm from subdomain1 and attempt to move it to domain1 ... ok
Test as root, stop a VM from subdomain1 and attempt to move it to subdomain2
... ok
Test as root, stop a VM from subdomain1 and attempt to move it to subdomain2,
network should get craeted ... ok
Test as domain admin, stop a VM from subdomain1 and attempt to move it to
subdomain2 ... ok
Test as domain admin, stop a VM from subdomain1 and attempt to move it to
subdomain2 ... ok
Test as domain admin, stop a VM from subdomain1 and attempt to move it to
subdomain2 ... ok
Test as domain admin, stop a VM from subdomain1 and attempt to move it to
subdomain2 ... ERROR
Test as domain admin, stop a VM from subdomain1 and attempt to move it to
subdomain2 ... ok
Test as domain admin, stop a VM from subdomain1 and attempt to move it to
subdomain2 ... ok
Test as domain admin, stop a VM from subdomain1 and attempt to move it to
subdomain2 when limit reached ... ok
Test as domain admin, stop a VM from subdomain1 and attempt to move it to
subdomain2 volumes are attached and limit reached ... ok
integration.component.test_assign_vm.log_test_exceptions ... ERROR
Error observed:
------------------------
1. ERROR: Test as domain admin, stop a VM from subdomain1 and attempt to move
it to subdomain2
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/DataDisk/temp/cloudstack/test/integration/component/test_assign_vm.py", line
48, in test_wrap_exception_log
raise e
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode :
530, errortext : u"Failed to attach volume: TestDiskServ to VM:
94f6c225-a0b9-463a-abc5-d8273b2f23aa; Failed to attach volume for uuid:
2049950c-c82f-491c-90c7-1c6417e109f4 due to You attempted an operation on a VM
that was not in an appropriate power state at the time; for example, you
attempted to start a VM that was already running. The parameters returned are
the VM's handle, and the expected and actual VM state at the time of the call."}
2. ERROR: integration.component.test_assign_vm.log_test_exceptions
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/case.py",
line 197, in runTest
self.test(*self.arg)
TypeError: log_test_exceptions() takes exactly 1 argument (0 given)
PFA logs for more info.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)