cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaurav Aradhye (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-6876) test_deploy_vgpu_enabled_vm is failing on xen and Kvm runs.
Date Fri, 20 Jun 2014 03:02:24 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14038305#comment-14038305
] 

Gaurav Aradhye commented on CLOUDSTACK-6876:
--------------------------------------------

The dict which is sent through test case for pciDevices is wrong. It is sending hard coded
values while it should read the available devices from setup. Did not find any suitable api
for this. I have sent mail to dev list for this.

> test_deploy_vgpu_enabled_vm is failing on xen and Kvm runs.
> -----------------------------------------------------------
>
>                 Key: CLOUDSTACK-6876
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6876
>             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
> Execute cmd: createserviceoffering failed, due to: errorCode: 401, errorText:unable to
verify user credentials and/or request signature
> -------------------- >> begin captured stdout << ---------------------
> === TestName: test_deploy_vgpu_enabled_vm | Status : EXCEPTION ===
> --------------------- >> end captured stdout << ----------------------
> -------------------- >> begin captured logging << --------------------
> test_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
DEBUG: ::::::::::::STARTED : TC: test_deploy_vgpu_enabled_vm :::::::::::
> test_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
DEBUG: Payload: {'apiKey': u'N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA',
'command': 'listDomains', 'signature': 'lalPSnJlAM6GkRDFC2sNKSa5T+o=', 'response': 'json'}
> test_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
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_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
DEBUG: Response : [{path : u'ROOT', haschild : False, id : u'b5e7af36-ef7f-11e3-a141-00163e189e44',
name : u'ROOT', level : 0}]
> test_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
DEBUG: Payload: {'apiKey': u'N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA',
'name': 'zone-xen', 'command': 'listZones', 'signature': 'TFpPtnJ8uzOTOnEQ53yyluY5Ed0=', 'response':
'json'}
> test_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
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_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
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_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
DEBUG: Payload: {'apiKey': u'N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA',
'templatefilter': 'featured', 'command': 'listTemplates', 'signature': 'eIj8lFw1ONlBOoquO50AKcXIBEI=',
'zoneid': u'243eb08f-31e9-4283-953b-52578d8b1c6a', 'response': 'json'}
> test_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
DEBUG: ========Sending GET Cmd : listTemplates=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.21
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?templatefilter=featured&apiKey=N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA&zoneid=243eb08f-31e9-4283-953b-52578d8b1c6a&command=listTemplates&signature=eIj8lFw1ONlBOoquO50AKcXIBEI%3D&response=json
HTTP/1.1" 200 818
> test_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
DEBUG: Response : [{domain : u'ROOT', domainid : u'b5e7af36-ef7f-11e3-a141-00163e189e44',
ostypename : u'CentOS 5.6 (64-bit)', zoneid : u'243eb08f-31e9-4283-953b-52578d8b1c6a', displaytext
: u'CentOS 5.6(64-bit) no GUI (XenServer)', ostypeid : u'b5829966-ef7f-11e3-a141-00163e189e44',
passwordenabled : False, id : u'b57c835a-ef7f-11e3-a141-00163e189e44', size : 21474836480,
isready : True, format : u'VHD', templatetype : u'BUILTIN', zonename : u'zone-xen', status
: u'Download Complete', isdynamicallyscalable : True, tags : [], isfeatured : True, sshkeyenabled
: False, isextractable : True, crossZones : True, account : u'system', name : u'CentOS 5.6(64-bit)
no GUI (XenServer)', created : u'2014-06-08T19:52:44-0700', hypervisor : u'XenServer', ispublic
: True, checksum : u'905cec879afd9c9d22ecc8036131a180'}]
> test_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
DEBUG: Payload: {'username': 'test-TestDeployvGPUenabledVM-test_deploy_vgpu_enabled_vm-ZH61VZ',
'domainid': u'b5e7af36-ef7f-11e3-a141-00163e189e44', 'firstname': 'Test', 'lastname': 'User',
'response': 'json', 'apiKey': u'N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA',
'command': 'createAccount', 'accounttype': 0, 'signature': 'bs4XUmFExEu5xyNsGBIecPyasVM=',
'password': 'password', 'email': 'test@test.com'}
> test_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
DEBUG: ========Sending GET Cmd : createAccount=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.21
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?username=test-TestDeployvGPUenabledVM-test_deploy_vgpu_enabled_vm-ZH61VZ&domainid=b5e7af36-ef7f-11e3-a141-00163e189e44&firstname=Test&lastname=User&email=test%40test.com&apiKey=N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA&command=createAccount&accounttype=0&signature=bs4XUmFExEu5xyNsGBIecPyasVM%3D&password=password&response=json
HTTP/1.1" 200 1693
> test_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
DEBUG: Response : {primarystorageavailable : u'Unlimited', domain : u'ROOT', domainid : u'b5e7af36-ef7f-11e3-a141-00163e189e44',
vpclimit : u'Unlimited', iplimit : u'Unlimited', volumelimit : u'Unlimited', memorytotal :
0, secondarystorageavailable : u'Unlimited', vmtotal : 0, cputotal : 0, vpctotal : 0, id :
u'67a82609-bb7a-46e1-8eb9-d52c078e7599', cpuavailable : u'Unlimited', snapshotlimit : u'Unlimited',
networklimit : u'Unlimited', iptotal : 0, volumetotal : 0, projectlimit : u'Unlimited', state
: u'enabled', networktotal : 0, accounttype : 0, networkavailable : u'Unlimited', primarystoragetotal
: 0, templatelimit : u'Unlimited', snapshottotal : 0, templateavailable : u'Unlimited', vmlimit
: u'Unlimited', vpcavailable : u'Unlimited', memoryavailable : u'Unlimited', secondarystoragetotal
: 0, templatetotal : 0, projecttotal : 0, user : [{username : u'test-TestDeployvGPUenabledVM-test_deploy_vgpu_enabled_vm-ZH61VZ',
account : u'test-TestDeployvGPUenabledVM-test_deploy_vgpu_enabled_vm-ZH61VZ', domainid : u'b5e7af36-ef7f-11e3-a141-00163e189e44',
firstname : u'Test', created : u'2014-06-08T20:02:39-0700', lastname : u'User', domain : u'ROOT',
id : u'98e091ce-52c0-497f-b03a-2eef3574583c', iscallerchilddomain : False, state : u'enabled',
accounttype : 0, email : u'test@test.com', isdefault : False, accountid : u'67a82609-bb7a-46e1-8eb9-d52c078e7599'}],
groups : [], projectavailable : u'Unlimited', isdefault : False, primarystoragelimit : u'Unlimited',
secondarystoragelimit : u'Unlimited', volumeavailable : u'Unlimited', name : u'test-TestDeployvGPUenabledVM-test_deploy_vgpu_enabled_vm-ZH61VZ',
vmavailable : u'Unlimited', ipavailable : u'Unlimited', memorylimit : u'Unlimited', cpulimit
: u'Unlimited', snapshotavailable : u'Unlimited'}
> test_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
DEBUG: Payload: {'apiKey': u'N9xuraDqhuIDa7f0I_v0nkI3Kk2wLZ5w9UH3F86H-TeAnoXJ1iRnOaYMLJDd2w-rjwH6LCiSEnw24lNX6LH8iA',
'serviceofferingdetails': {'pciDevice': 'VGPU'}, 'cpunumber': 2, 'memory': 3072, 'cpuspeed':
1600, 'response': 'json', 'name': 'Windows Instance with vGPU260Q', 'command': 'createServiceOffering',
'signature': 'n4sg4McFojTCNLX4GSokmecljGA=', 'displaytext': 'Windows Instance with vGPU260Q'}
> test_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
DEBUG: ========Sending GET Cmd : createServiceOffering=======
> 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&serviceofferingdetails=pciDevice&memory=3072&signature=n4sg4McFojTCNLX4GSokmecljGA%3D&cpunumber=2&cpuspeed=1600&command=createServiceOffering&displaytext=Windows+Instance+with+vGPU260Q&response=json&name=Windows+Instance+with+vGPU260Q
HTTP/1.1" 401 142
> test_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
ERROR: Exception:['Traceback (most recent call last):\n', '  File "/automation/virtenv/00-16-3e-18-9e-44/609/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 306, in __parseAndGetResponse\n    response_cls)\n', '  File "/automation/virtenv/00-16-3e-18-9e-44/609/testenv/lib/python2.7/site-packages/marvin/jsonHelper.py",
line 151, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname,
errMsg)\n', 'CloudstackAPIException: Execute cmd: createserviceoffering failed, due to: errorCode:
401, errorText:unable to verify user credentials and/or request signature\n']
> Traceback (most recent call last):
>   File "/automation/virtenv/00-16-3e-18-9e-44/609/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 306, in __parseAndGetResponse
>     response_cls)
>   File "/automation/virtenv/00-16-3e-18-9e-44/609/testenv/lib/python2.7/site-packages/marvin/jsonHelper.py",
line 151, in getResultObj
>     raise cloudstackException.CloudstackAPIException(respname, errMsg)
> CloudstackAPIException: Execute cmd: createserviceoffering failed, due to: errorCode:
401, errorText:unable to verify user credentials and/or request signature
> test_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
ERROR: marvinRequest : CmdName: <marvin.cloudstackAPI.createServiceOffering.createServiceOfferingCmd
object at 0x2b60c10> Exception: ['Traceback (most recent call last):\n', '  File "/automation/virtenv/00-16-3e-18-9e-44/609/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 373, in marvinRequest\n    raise self.__lastError\n', 'CloudstackAPIException: Execute
cmd: createserviceoffering failed, due to: errorCode: 401, errorText:unable to verify user
credentials and/or request signature\n']
> Traceback (most recent call last):
>   File "/automation/virtenv/00-16-3e-18-9e-44/609/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 373, in marvinRequest
>     raise self.__lastError
> CloudstackAPIException: Execute cmd: createserviceoffering failed, due to: errorCode:
401, errorText:unable to verify user credentials and/or request signature
> test_deploy_vgpu_enabled_vm (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
CRITICAL: EXCEPTION: test_deploy_vgpu_enabled_vm: ['Traceback (most recent call last):\n',
'  File "/usr/local/lib/python2.7/unittest/case.py", line 322, in run\n    self.setUp()\n',
'  File "/automation/virtenv/00-16-3e-18-9e-44/609/test/integration/smoke/test_deploy_vgpu_enabled_vm.py",
line 147, in setUp\n    serviceofferingdetails={\'pciDevice\': \'VGPU\'}\n', '  File "/automation/virtenv/00-16-3e-18-9e-44/609/testenv/lib/python2.7/site-packages/marvin/lib/base.py",
line 1868, in create\n    return ServiceOffering(apiclient.createServiceOffering(cmd).__dict__)\n',
'  File "/automation/virtenv/00-16-3e-18-9e-44/609/testenv/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 892, in createServiceOffering\n    response = self.connection.marvinRequest(command,
response_type=response, method=method)\n', '  File "/automation/virtenv/00-16-3e-18-9e-44/609/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 378, in marvinRequest\n    raise e\n', 'CloudstackAPIException: Execute cmd: createserviceoffering
failed, due to: errorCode: 401, errorText:unable to verify user credentials and/or request
signature\n']



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

Mime
View raw message