Chandan Purushothama created CLOUDSTACK-7122:
------------------------------------------------
Summary: [Automation] "configureSimulator" is not detected as API
on base.py
Key: CLOUDSTACK-7122
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7122
Project: CloudStack
Issue Type: Test
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation, Test
Affects Versions: 4.5.0
Reporter: Chandan Purushothama
Priority: Critical
Fix For: 4.5.0
==================================
TestCase Failure due to the bug on base.py:
==================================
test_vm_sync (integration.smoke.test_vm_sync.TestDeployVMSync): DEBUG: Response
: [{managedstate : u'Managed', name : u'XenRT-Zone-0-Pod-0-Cluster-0', podid :
u'076e5c08-bfb0-4f43-9dba-175d4c511023', memoryovercommitratio : u'1.0',
clustertype : u'CloudManaged', allocationstate : u'Enabled', zoneid :
u'266cd8ee-c11b-45f8-a423-2aa15b4cae49', cpuovercommitratio : u'1.0', podname :
u'XenRT-Zone-0-Pod-0', zonename : u'XenRT-Zone-0', id :
u'a84e9409-2ce8-441d-944e-3abdbe259e32', hypervisortype : u'XenServer'}]
test_vm_sync (integration.smoke.test_vm_sync.TestDeployVMSync): CRITICAL:
EXCEPTION: test_vm_sync: ['Traceback (most recent call last):\n', ' File
"/usr/lib/python2.7/unittest/case.py", line 323, in run\n self.setUp()\n', '
File
"/home/jenkins/workspace/xenrt-bvt-adv-xs/cloudstack.git/test/integration/smoke/test_vm_sync.py",
line 116, in setUp\n method=\'POST\')\n', ' File
"/local/jenkins/workspace/xenrt-bvt-adv-xs/work.195/env/local/lib/python2.7/site-packages/marvin/lib/base.py",
line 4630, in create\n cmd = configureSimulator.configureSimulatorCmd()\n',
"NameError: global name 'configureSimulator' is not defined\n"]
--------------------- >> end captured logging << ---------------------
Stacktrace
File "/usr/lib/python2.7/unittest/case.py", line 323, in run
self.setUp()
File
"/home/jenkins/workspace/xenrt-bvt-adv-xs/cloudstack.git/test/integration/smoke/test_vm_sync.py",
line 116, in setUp
method='POST')
File
"/local/jenkins/workspace/xenrt-bvt-adv-xs/work.195/env/local/lib/python2.7/site-packages/marvin/lib/base.py",
line 4630, in create
cmd = configureSimulator.configureSimulatorCmd()
'global name \'configureSimulator\' is not defined\n-------------------- >>
begin captured stdout << ---------------------\n=== TestName: test_vm_sync |
Status : EXCEPTION ===\n\n\n--------------------- >> end captured stdout <<
----------------------\n-------------------- >> begin captured logging <<
--------------------\ntest_03_delete_vm_snapshots
(integration.smoke.test_vm_snapshots.TestVmSnapshot): DEBUG: Payload:
{\'signature\': \'DgDHiZp0tv81xpH1363NAv0bsik=\', \'apiKey\':
u\'97q0_edU6-NJOeW0U0R20dn_lNhso2hNVln2LSAUp8dAfo3_9q7HDuA5HkA9v7OWfqL-d8lgUG0PTR67WuLY5A\',
\'command\': \'deleteServiceOffering\', \'id\':
u\'aa7d3fc8-40ee-4513-8fec-1223c6e7ff4a\', \'response\':
\'json\'}\ntest_03_delete_vm_snapshots
(integration.smoke.test_vm_snapshots.TestVmSnapshot): DEBUG: ========Sending
GET Cmd :
--
This message was sent by Atlassian JIRA
(v6.2#6252)