Bharat Kumar created CLOUDSTACK-6877:
----------------------------------------
Summary: test_01_sys_vm_start from suite test_secondary storage is
failing on xen and kvm
Key: CLOUDSTACK-6877
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6877
Project: CloudStack
Issue Type: Sub-task
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation
Reporter: Bharat Kumar
Error Message
Check whether state of SSVM is running
-------------------- >> begin captured stdout << ---------------------
=== TestName: test_01_sys_vm_start | Status : FAILED ===
--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
::::::::::::STARTED : TC: test_01_sys_vm_start :::::::::::
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
Payload: {'apiKey':
u'N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA',
'name': u'zone-xen', 'command': 'listZones', 'signature':
'TFpPtnJ8uzOTOnEQ53yyluY5Ed0=', 'response': 'json'}
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
========Sending GET Cmd : listZones=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 172.16.88.21
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?response=json&apiKey=N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA&command=listZones&name=zone-xen&signature=TFpPtnJ8uzOTOnEQ53yyluY5Ed0%3D
HTTP/1.1" 200 446
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
Response : [{localstorageenabled : False, name : u'zone-xen', guestcidraddress
: u'10.1.1.0/24', tags : [], zonetoken :
u'21715335-f736-3016-9d97-0765620600c0', dns2 : u'8.8.4.4', dns1 : u'8.8.8.8',
securitygroupsenabled : False, allocationstate : u'Enabled', internaldns1 :
u'172.16.88.7', dhcpprovider : u'VirtualRouter', networktype : u'Advanced', id
: u'243eb08f-31e9-4283-953b-52578d8b1c6a', internaldns2 : u'172.16.88.8'}]
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
Payload: {'apiKey':
u'N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA',
'command': 'listPods', 'signature': 'NShFYMTbzFapYtW58DbrDRIaYDc=', 'zoneid':
u'243eb08f-31e9-4283-953b-52578d8b1c6a', 'response': 'json'}
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
========Sending GET Cmd : listPods=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 172.16.88.21
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?zoneid=243eb08f-31e9-4283-953b-52578d8b1c6a&apiKey=N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA&command=listPods&response=json&signature=NShFYMTbzFapYtW58DbrDRIaYDc%3D
HTTP/1.1" 200 308
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
Response : [{endip : u'172.16.88.40', name : u'z0p0', startip :
u'172.16.88.13', allocationstate : u'Enabled', zoneid :
u'243eb08f-31e9-4283-953b-52578d8b1c6a', netmask : u'255.255.255.0', gateway :
u'172.16.88.1', id : u'53e93054-4d0c-4110-9699-314d37ce3e90', zonename :
u'zone-xen'}]
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
Payload: {'apiKey':
u'N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA',
'name': u'zone-xen2', 'command': 'listZones', 'signature':
'E7MrZsFm+8NgyoakHaXWYy7JN6I=', 'response': 'json'}
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
========Sending GET Cmd : listZones=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 172.16.88.21
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?response=json&apiKey=N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA&command=listZones&name=zone-xen2&signature=E7MrZsFm%2B8NgyoakHaXWYy7JN6I%3D
HTTP/1.1" 200 430
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
Response : [{localstorageenabled : False, name : u'zone-xen2', guestcidraddress
: u'10.1.1.0/24', tags : [], zonetoken :
u'a372ca2f-24cd-34eb-bf89-861c7e4afd44', dns1 : u'8.8.8.8',
securitygroupsenabled : False, allocationstate : u'Enabled', internaldns1 :
u'172.16.88.7', dhcpprovider : u'VirtualRouter', networktype : u'Advanced', id
: u'916485d1-8b0f-476d-9e25-31b0c5e3a81e', internaldns2 : u'172.16.88.8'}]
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
Payload: {'apiKey':
u'N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA',
'command': 'listPods', 'signature': 'ta7+sNH9GyKOwcKWZprrgyRLg8w=', 'zoneid':
u'916485d1-8b0f-476d-9e25-31b0c5e3a81e', 'response': 'json'}
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
========Sending GET Cmd : listPods=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 172.16.88.21
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?zoneid=916485d1-8b0f-476d-9e25-31b0c5e3a81e&apiKey=N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA&command=listPods&response=json&signature=ta7%2BsNH9GyKOwcKWZprrgyRLg8w%3D
HTTP/1.1" 200 310
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
Response : [{endip : u'172.16.88.100', name : u'z1p0', startip :
u'172.16.88.65', allocationstate : u'Enabled', zoneid :
u'916485d1-8b0f-476d-9e25-31b0c5e3a81e', netmask : u'255.255.255.0', gateway :
u'172.16.88.1', id : u'fc514bfa-f8e2-4015-8c01-34d12d7f049f', zonename :
u'zone-xen2'}]
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
Payload: {'apiKey':
u'N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA',
'command': 'listDomains', 'signature': 'lalPSnJlAM6GkRDFC2sNKSa5T+o=',
'response': 'json'}
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
========Sending GET Cmd : listDomains=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 172.16.88.21
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?apiKey=N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA&command=listDomains&response=json&signature=lalPSnJlAM6GkRDFC2sNKSa5T%2Bo%3D
HTTP/1.1" 200 159
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
Response : [{path : u'ROOT', haschild : False, id :
u'b5e7af36-ef7f-11e3-a141-00163e189e44', name : u'ROOT', level : 0}]
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
Payload: {'apiKey':
u'N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA',
'command': 'listHosts', 'signature': '/9IcgAJ0gPF5Ia2UoIS6WPcusFE=', 'type':
'Routing', 'response': 'json'}
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
========Sending GET Cmd : listHosts=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 172.16.88.21
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?type=Routing&apiKey=N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA&command=listHosts&response=json&signature=%2F9IcgAJ0gPF5Ia2UoIS6WPcusFE%3D
HTTP/1.1" 200 3554
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
Response : [{cpuwithoverprovisioning : u'8800.0', version : u'4.4.0-SNAPSHOT',
memorytotal : 15711046016, zoneid : u'916485d1-8b0f-476d-9e25-31b0c5e3a81e',
cpunumber : 4, managementserverid : 95531081284, cpuallocated : u'11.36%',
memoryused : 1214922, id : u'e48abb36-70bc-4f56-a3ba-55036d958605', cpuused :
u'0.17%', hypervisorversion : u'6.2.0', clusterid :
u'5e08da46-6128-4b27-963f-2eef235fe3e9', capabilities : u'xen-3.0-x86_64 ,
xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x86_32p , hvm-3.0-x86_64', state :
u'Up', memoryallocated : 1610612736, networkkbswrite : 5183114, cpuspeed :
2200, cpusockets : 1, type : u'Routing', events : u'HostDown;
ShutdownRequested; Remove; Ping; ManagementServerDown; AgentConnected;
PingTimeout; StartAgentRebalance; AgentDisconnected', zonename : u'zone-xen2',
podid : u'fc514bfa-f8e2-4015-8c01-34d12d7f049f', clustertype : u'CloudManaged',
hahost : False, lastpinged : u'1970-01-16T12:23:36-0800', ipaddress :
u'172.16.88.10', disconnected : u'2014-06-08T19:56:05-0700', name :
u'xen3.automation.hyd.com', networkkbsread : 5308651, created :
u'2014-06-08T19:50:10-0700', clustername : u'z1p0c0', hypervisor :
u'XenServer', islocalstorageactive : False, resourcestate : u'Enabled', podname
: u'z1p0'}, {cpuwithoverprovisioning : u'8800.0', version : u'4.4.0-SNAPSHOT',
memorytotal : 15711046016, zoneid : u'243eb08f-31e9-4283-953b-52578d8b1c6a',
cpunumber : 4, managementserverid : 95531081284, cpuallocated : u'34.09%',
memoryused : 1258785, id : u'47836591-c631-4e2b-83a6-05b4c4a09ee7', cpuused :
u'0.08%', hypervisorversion : u'6.2.0', clusterid :
u'ad14f2c2-8b32-4c50-bb5c-1a7224f1ae9a', capabilities : u'xen-3.0-x86_64 ,
xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x86_32p , hvm-3.0-x86_64', state :
u'Up', memoryallocated : 1879048192, networkkbswrite : 0, cpuspeed : 2200,
cpusockets : 1, type : u'Routing', events : u'HostDown; ShutdownRequested;
Remove; Ping; ManagementServerDown; AgentConnected; PingTimeout;
StartAgentRebalance; AgentDisconnected', zonename : u'zone-xen', podid :
u'53e93054-4d0c-4110-9699-314d37ce3e90', clustertype : u'CloudManaged', hahost
: False, lastpinged : u'1970-01-16T12:23:36-0800', ipaddress : u'172.16.88.41',
disconnected : u'2014-06-08T19:56:05-0700', name : u'xen2.automation.hyd.com',
networkkbsread : 0, created : u'2014-06-08T19:48:01-0700', clustername :
u'z0p0c0', hypervisor : u'XenServer', islocalstorageactive : False,
resourcestate : u'Enabled', podname : u'z0p0'}, {cpuwithoverprovisioning :
u'8800.0', version : u'4.4.0-SNAPSHOT', memorytotal : 15711046016, zoneid :
u'243eb08f-31e9-4283-953b-52578d8b1c6a', cpunumber : 4, managementserverid :
95531081284, cpuallocated : u'37.5%', memoryused : 1545682, id :
u'b5b6c8fc-2b81-4625-b5c4-512831cf2feb', cpuused : u'0.12%', hypervisorversion
: u'6.2.0', clusterid : u'ad14f2c2-8b32-4c50-bb5c-1a7224f1ae9a', capabilities :
u'xen-3.0-x86_64 , xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x86_32p ,
hvm-3.0-x86_64', state : u'Up', memoryallocated : 2281701376, networkkbswrite :
2252035, cpuspeed : 2200, cpusockets : 1, type : u'Routing', events :
u'HostDown; ShutdownRequested; Remove; Ping; ManagementServerDown;
AgentConnected; PingTimeout; StartAgentRebalance; AgentDisconnected', zonename
: u'zone-xen', podid : u'53e93054-4d0c-4110-9699-314d37ce3e90', clustertype :
u'CloudManaged', hahost : False, lastpinged : u'1970-01-16T12:23:36-0800',
ipaddress : u'172.16.88.11', disconnected : u'2014-06-08T19:56:05-0700', name :
u'xen1.automation.hyd.com', networkkbsread : 2335199, created :
u'2014-06-08T19:47:49-0700', clustername : u'z0p0c0', hypervisor :
u'XenServer', islocalstorageactive : False, resourcestate : u'Enabled', podname
: u'z0p0'}]
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
Payload: {'apiKey':
u'N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA',
'command': 'listStoragePools', 'signature': '6ogkf4mHARgSFeif49V6X84P/TU=',
'response': 'json'}
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
========Sending GET Cmd : listStoragePools=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 172.16.88.21
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?apiKey=N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA&command=listStoragePools&response=json&signature=6ogkf4mHARgSFeif49V6X84P%2FTU%3D
HTTP/1.1" 200 1946
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
Response : [{podname : u'z1p0', storagecapabilities :
{VOLUME_SNAPSHOT_QUIESCEVM : u'false'}, name : u'z1p0c0ps0', disksizeallocated
: 5242880000, podid : u'fc514bfa-f8e2-4015-8c01-34d12d7f049f', clustername :
u'z1p0c0', ipaddress : u'nfs-server.automation.hyd.com', created :
u'2014-06-08T19:51:20-0700', clusterid :
u'5e08da46-6128-4b27-963f-2eef235fe3e9', zoneid :
u'916485d1-8b0f-476d-9e25-31b0c5e3a81e', state : u'Up', disksizeused :
37748998144, id : u'59580963-57b2-37fe-8cad-b0c23d8ccfdb', overprovisionfactor
: u'2.0', path : u'/export/automation/1/z1primary1', zonename : u'zone-xen2',
type : u'NetworkFilesystem', scope : u'CLUSTER', disksizetotal : 634136821760},
{podname : u'z0p0', storagecapabilities : {VOLUME_SNAPSHOT_QUIESCEVM :
u'false'}, name : u'z0p0c0ps1', disksizeallocated : 0, podid :
u'53e93054-4d0c-4110-9699-314d37ce3e90', clustername : u'z0p0c0', ipaddress :
u'nfs-server.automation.hyd.com', created : u'2014-06-08T19:49:11-0700',
clusterid : u'ad14f2c2-8b32-4c50-bb5c-1a7224f1ae9a', zoneid :
u'243eb08f-31e9-4283-953b-52578d8b1c6a', state : u'Up', disksizeused :
37739298816, id : u'132f42f9-a7f1-36f2-9d40-d4585c65eec9', overprovisionfactor
: u'2.0', path : u'/export/automation/1/z0primary1', zonename : u'zone-xen',
type : u'NetworkFilesystem', scope : u'CLUSTER', disksizetotal : 634136821760},
{podname : u'z0p0', storagecapabilities : {VOLUME_SNAPSHOT_QUIESCEVM :
u'false'}, name : u'z0p0c0ps0', disksizeallocated : 5242880000, podid :
u'53e93054-4d0c-4110-9699-314d37ce3e90', clustername : u'z0p0c0', ipaddress :
u'nfs-server.automation.hyd.com', created : u'2014-06-08T19:49:09-0700',
clusterid : u'ad14f2c2-8b32-4c50-bb5c-1a7224f1ae9a', zoneid :
u'243eb08f-31e9-4283-953b-52578d8b1c6a', state : u'Up', disksizeused :
37669830656, id : u'394223ed-64ec-3269-97bc-68293210249f', overprovisionfactor
: u'2.0', path : u'/export/automation/1/z0primary0', zonename : u'zone-xen',
type : u'NetworkFilesystem', scope : u'CLUSTER', disksizetotal : 634136821760}]
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
Payload: {'apiKey':
u'N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA',
'command': 'listSystemVms', 'signature': 'voOpszEMqrVsSnoRNbW+4WOXLJE=',
'systemvmtype': 'secondarystoragevm', 'response': 'json'}
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
========Sending GET Cmd : listSystemVms=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 172.16.88.21
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?systemvmtype=secondarystoragevm&apiKey=N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA&command=listSystemVms&response=json&signature=voOpszEMqrVsSnoRNbW%2B4WOXLJE%3D
HTTP/1.1" 200 1293
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG:
Response : [{publicnetmask : u'255.255.255.0', name : u's-2-VM', podid :
u'53e93054-4d0c-4110-9699-314d37ce3e90', dns2 : u'8.8.4.4', dns1 : u'8.8.8.8',
created : u'2014-06-08T19:49:25-0700', zoneid :
u'243eb08f-31e9-4283-953b-52578d8b1c6a', publicip : u'172.16.168.6', state :
u'Stopped', systemvmtype : u'secondarystoragevm', templateid :
u'b57c5128-ef7f-11e3-a141-00163e189e44', id :
u'52a60d46-b0f6-4582-9505-d6289b088f6b', publicmacaddress :
u'06:93:0c:00:00:1e', gateway : u'172.16.168.1', zonename : u'zone-xen'},
{linklocalip : u'169.254.1.222', zoneid :
u'916485d1-8b0f-476d-9e25-31b0c5e3a81e', linklocalmacaddress :
u'0e:00:a9:fe:01:de', linklocalnetmask : u'255.255.0.0', publicmacaddress :
u'06:dc:24:00:00:26', id : u'937450e0-e47b-4ef4-98fa-c90e7ba79e9f', hostname :
u'xen3.automation.hyd.com', gateway : u'172.16.169.1', publicip :
u'172.16.169.6', state : u'Running', systemvmtype : u'secondarystoragevm',
zonename : u'zone-xen2', podid : u'fc514bfa-f8e2-4015-8c01-34d12d7f049f',
templateid : u'b57c5128-ef7f-11e3-a141-00163e189e44', publicnetmask :
u'255.255.255.0', hostid : u'e48abb36-70bc-4f56-a3ba-55036d958605',
privatenetmask : u'255.255.255.0', name : u's-4-VM', created :
u'2014-06-08T19:52:47-0700', dns1 : u'8.8.8.8', privateip : u'172.16.88.81',
privatemacaddress : u'06:62:8a:00:00:11'}]
test_01_sys_vm_start
(integration.smoke.test_secondary_storage.TestSecStorageServices): CRITICAL:
FAILED: test_01_sys_vm_start: ['Traceback (most recent call last):\n', ' File
"/usr/local/lib/python2.7/unittest/case.py", line 331, in run\n
testMethod()\n', ' File
"/automation/virtenv/00-16-3e-18-9e-44/609/test/integration/smoke/test_secondary_storage.py",
line 159, in test_01_sys_vm_start\n "Check whether state of SSVM is
running"\n', ' File "/usr/local/lib/python2.7/unittest/case.py", line 515, in
assertEqual\n assertion_func(first, second, msg=msg)\n', ' File
"/usr/local/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual\n
raise self.failureException(msg)\n', 'AssertionError: Check whether state of
SSVM is running\n']
--
This message was sent by Atlassian JIRA
(v6.2#6252)