You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Girish Shilamkar (JIRA)" <ji...@apache.org> on 2014/06/25 12:36:24 UTC

[jira] [Reopened] (CLOUDSTACK-6875) test_volumes.TestVolumes.test_09_delete_detached_volume is failing on simulator runs

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Girish Shilamkar reopened CLOUDSTACK-6875:
------------------------------------------


Keeping open till linked product bug gets fixed

> test_volumes.TestVolumes.test_09_delete_detached_volume is failing on simulator runs
> ------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6875
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6875
>             Project: CloudStack
>          Issue Type: Sub-task
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation
>            Reporter: Bharat Kumar
>            Assignee: Girish Shilamkar
>
> Error Message
> Job failed: {jobprocstatus : 0, created : u'2014-06-08T20:26:20-0700', cmd : u'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin', userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 2, jobid : u'b263a941-29b1-4ab8-9c00-7a0d2678b591', jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext : u'Unexpected exception'}, accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}
> -------------------- >> begin captured stdout << ---------------------
> === TestName: test_09_delete_detached_volume | Status : EXCEPTION ===
> --------------------- >> end captured stdout << ----------------------
> -------------------- >> begin captured logging << --------------------
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: ::::::::::::STARTED : TC: test_09_delete_detached_volume :::::::::::
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: Delete Volume ID: 24051890-92ad-4cee-8ca3-119d278b072a
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: Payload: {'account': u'test-account-TestCreateVolume-N2SRV2', 'domainid': u'36a27fb8-ef83-11e3-a86b-00163e0af42c', 'name': 'Test Volume', 'zoneid': u'ef5040e4-6e78-433b-a21a-656a7ab31e80', 'apiKey': u'Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ', 'command': 'createVolume', 'signature': 'O0mZxBTYte8bIWPhtBYKUycq8Yo=', 'diskofferingid': u'92b2888e-c624-4042-82b4-632bed2bb38d', 'response': 'json'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: ========Sending GET Cmd : createVolume=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.23
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?account=test-account-TestCreateVolume-N2SRV2&domainid=36a27fb8-ef83-11e3-a86b-00163e0af42c&name=Test+Volume&zoneid=ef5040e4-6e78-433b-a21a-656a7ab31e80&apiKey=Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ&command=createVolume&signature=O0mZxBTYte8bIWPhtBYKUycq8Yo%3D&diskofferingid=92b2888e-c624-4042-82b4-632bed2bb38d&response=json HTTP/1.1" 200 121
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: === Jobid: 2249fb73-7560-4d22-a7f9-dba0507b096e Started ===
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: Payload: {'signature': '8di/lZIPnn9qCgFh0fHVVrH7/8U=', 'apiKey': u'Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ', 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'2249fb73-7560-4d22-a7f9-dba0507b096e'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.23
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=2249fb73-7560-4d22-a7f9-dba0507b096e&apiKey=Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ&command=queryAsyncJobResult&response=json&signature=8di%2FlZIPnn9qCgFh0fHVVrH7%2F8U%3D HTTP/1.1" 200 430
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: Response : {jobprocstatus : 0, created : u'2014-06-08T20:26:14-0700', cmd : u'org.apache.cloudstack.api.command.admin.volume.CreateVolumeCmdByAdmin', userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 0, jobid : u'2249fb73-7560-4d22-a7f9-dba0507b096e', jobresultcode : 0, jobinstanceid : u'c936802c-42f3-4ff3-9eb2-dd003517a8ef', jobinstancetype : u'Volume', accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: === JobId:2249fb73-7560-4d22-a7f9-dba0507b096e is Still Processing, Will TimeOut in:3595 ====
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: Payload: {'signature': '8di/lZIPnn9qCgFh0fHVVrH7/8U=', 'apiKey': u'Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ', 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'2249fb73-7560-4d22-a7f9-dba0507b096e'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.23
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=2249fb73-7560-4d22-a7f9-dba0507b096e&apiKey=Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ&command=queryAsyncJobResult&response=json&signature=8di%2FlZIPnn9qCgFh0fHVVrH7%2F8U%3D HTTP/1.1" 200 1075
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: Response : {jobprocstatus : 0, created : u'2014-06-08T20:26:14-0700', cmd : u'org.apache.cloudstack.api.command.admin.volume.CreateVolumeCmdByAdmin', userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 1, jobid : u'2249fb73-7560-4d22-a7f9-dba0507b096e', jobresultcode : 0, jobresulttype : u'object', jobresult : {domain : u'ROOT', domainid : u'36a27fb8-ef83-11e3-a86b-00163e0af42c', jobstatus : 0, zoneid : u'ef5040e4-6e78-433b-a21a-656a7ab31e80', quiescevm : False, id : u'c936802c-42f3-4ff3-9eb2-dd003517a8ef', size : 1073741824, diskofferingname : u'Disk offering', diskofferingdisplaytext : u'Disk offering', displayvolume : True, destroyed : False, state : u'Allocated', type : u'DATADISK', zonename : u'Sandbox-simulator', tags : [], isextractable : True, account : u'test-account-TestCreateVolume-N2SRV2', name : u'Test Volume', created : u'2014-06-08T20:26:14-0700', storagetype : u'shared', hypervisor : u'None', jobid : u'2249fb73-7560-4d22-a7f9-dba0507b096e', diskofferingid : u'92b2888e-c624-4042-82b4-632bed2bb38d'}, accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: ===Jobid:2249fb73-7560-4d22-a7f9-dba0507b096e ; StartTime:Mon Jun  9 09:00:53 2014 ; EndTime:Mon Jun  9 09:00:58 2014 ; TotalTime:-5===
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: Response : {jobprocstatus : 0, created : u'2014-06-08T20:26:14-0700', cmd : u'org.apache.cloudstack.api.command.admin.volume.CreateVolumeCmdByAdmin', userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 1, jobid : u'2249fb73-7560-4d22-a7f9-dba0507b096e', jobresultcode : 0, jobresulttype : u'object', jobresult : {domain : u'ROOT', domainid : u'36a27fb8-ef83-11e3-a86b-00163e0af42c', jobstatus : 0, zoneid : u'ef5040e4-6e78-433b-a21a-656a7ab31e80', quiescevm : False, id : u'c936802c-42f3-4ff3-9eb2-dd003517a8ef', size : 1073741824, diskofferingname : u'Disk offering', diskofferingdisplaytext : u'Disk offering', displayvolume : True, destroyed : False, state : u'Allocated', type : u'DATADISK', zonename : u'Sandbox-simulator', tags : [], isextractable : True, account : u'test-account-TestCreateVolume-N2SRV2', name : u'Test Volume', created : u'2014-06-08T20:26:14-0700', storagetype : u'shared', hypervisor : u'None', jobid : u'2249fb73-7560-4d22-a7f9-dba0507b096e', diskofferingid : u'92b2888e-c624-4042-82b4-632bed2bb38d'}, accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: Payload: {'apiKey': u'Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ', 'virtualmachineid': u'c7e706f4-2eb6-4e18-87e7-70e072af4303', 'id': u'c936802c-42f3-4ff3-9eb2-dd003517a8ef', 'command': 'attachVolume', 'signature': 'jfMs+KTsPPP0jNtV3dnYINULzC8=', 'response': 'json'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: ========Sending GET Cmd : attachVolume=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.23
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ&virtualmachineid=c7e706f4-2eb6-4e18-87e7-70e072af4303&id=c936802c-42f3-4ff3-9eb2-dd003517a8ef&command=attachVolume&signature=jfMs%2BKTsPPP0jNtV3dnYINULzC8%3D&response=json HTTP/1.1" 200 77
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: === Jobid: b263a941-29b1-4ab8-9c00-7a0d2678b591 Started ===
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: Payload: {'signature': 'r7pZh62FRXQYsXPhrUxxJfiiPTs=', 'apiKey': u'Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ', 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'b263a941-29b1-4ab8-9c00-7a0d2678b591'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.23
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=b263a941-29b1-4ab8-9c00-7a0d2678b591&apiKey=Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ&command=queryAsyncJobResult&response=json&signature=r7pZh62FRXQYsXPhrUxxJfiiPTs%3D HTTP/1.1" 200 430
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: Response : {jobprocstatus : 0, created : u'2014-06-08T20:26:20-0700', cmd : u'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin', userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 0, jobid : u'b263a941-29b1-4ab8-9c00-7a0d2678b591', jobresultcode : 0, jobinstanceid : u'c936802c-42f3-4ff3-9eb2-dd003517a8ef', jobinstancetype : u'Volume', accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: === JobId:b263a941-29b1-4ab8-9c00-7a0d2678b591 is Still Processing, Will TimeOut in:3595 ====
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: Payload: {'signature': 'r7pZh62FRXQYsXPhrUxxJfiiPTs=', 'apiKey': u'Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ', 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'b263a941-29b1-4ab8-9c00-7a0d2678b591'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.23
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=b263a941-29b1-4ab8-9c00-7a0d2678b591&apiKey=Qj0GwLB-3JHedsfK1fMgeybPzQuxKvXOOkIh-WNqEuJzupMkPVV7gCa7ZIV6jMwu1bIBqZhJAKd-TWfLH7XBXQ&command=queryAsyncJobResult&response=json&signature=r7pZh62FRXQYsXPhrUxxJfiiPTs%3D HTTP/1.1" 200 440
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: Response : {jobprocstatus : 0, created : u'2014-06-08T20:26:20-0700', cmd : u'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin', userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 2, jobid : u'b263a941-29b1-4ab8-9c00-7a0d2678b591', jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext : u'Unexpected exception'}, accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): ERROR: ==== __poll: Exception Occurred :Job failed: {jobprocstatus : 0, created : u'2014-06-08T20:26:20-0700', cmd : u'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin', userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 2, jobid : u'b263a941-29b1-4ab8-9c00-7a0d2678b591', jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext : u'Unexpected exception'}, accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'} ====
> Traceback (most recent call last):
>   File "/automation/virtenv/00-16-3e-0a-f4-2c/611/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 105, in __poll
>     % async_response)
> Exception: Job failed: {jobprocstatus : 0, created : u'2014-06-08T20:26:20-0700', cmd : u'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin', userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 2, jobid : u'b263a941-29b1-4ab8-9c00-7a0d2678b591', jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext : u'Unexpected exception'}, accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: Response : FAILED
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): ERROR: marvinRequest : CmdName: <marvin.cloudstackAPI.attachVolume.attachVolumeCmd object at 0x249b7d0> Exception: ['Traceback (most recent call last):\n', '  File "/automation/virtenv/00-16-3e-0a-f4-2c/611/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 373, in marvinRequest\n    raise self.__lastError\n', "Exception: Job failed: {jobprocstatus : 0, created : u'2014-06-08T20:26:20-0700', cmd : u'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin', userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 2, jobid : u'b263a941-29b1-4ab8-9c00-7a0d2678b591', jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext : u'Unexpected exception'}, accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}\n"]
> Traceback (most recent call last):
>   File "/automation/virtenv/00-16-3e-0a-f4-2c/611/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 373, in marvinRequest
>     raise self.__lastError
> Exception: Job failed: {jobprocstatus : 0, created : u'2014-06-08T20:26:20-0700', cmd : u'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin', userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 2, jobid : u'b263a941-29b1-4ab8-9c00-7a0d2678b591', jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext : u'Unexpected exception'}, accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}
> test_09_delete_detached_volume (integration.smoke.test_volumes.TestVolumes): CRITICAL: EXCEPTION: test_09_delete_detached_volume: ['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-0a-f4-2c/611/test/integration/smoke/test_volumes.py", line 731, in test_09_delete_detached_volume\n    self.virtual_machine.attach_volume(self.apiClient, self.volume_1)\n', '  File "/automation/virtenv/00-16-3e-0a-f4-2c/611/testenv/lib/python2.7/site-packages/marvin/lib/base.py", line 647, in attach_volume\n    return apiclient.attachVolume(cmd)\n', '  File "/automation/virtenv/00-16-3e-0a-f4-2c/611/testenv/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1565, in attachVolume\n    response = self.connection.marvinRequest(command, response_type=response, method=method)\n', '  File "/automation/virtenv/00-16-3e-0a-f4-2c/611/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 378, in marvinRequest\n    raise e\n', "Exception: Job failed: {jobprocstatus : 0, created : u'2014-06-08T20:26:20-0700', cmd : u'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin', userid : u'36a2cda6-ef83-11e3-a86b-00163e0af42c', jobstatus : 2, jobid : u'b263a941-29b1-4ab8-9c00-7a0d2678b591', jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext : u'Unexpected exception'}, accountid : u'36a29ade-ef83-11e3-a86b-00163e0af42c'}\n"]



--
This message was sent by Atlassian JIRA
(v6.2#6252)