[
https://issues.apache.org/jira/browse/CLOUDSTACK-6862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14026913#comment-14026913
]
Rayees Namathponnan commented on CLOUDSTACK-6862:
-------------------------------------------------
We need to skip this test for KVM
> [Automation] Test case TestDeployvGPUenabledVM.test_deploy_vgpu_enabled_vm
> faling during BVT
> ---------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-6862
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6862
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Affects Versions: 4.4.0
> Reporter: Rayees Namathponnan
> Priority: Blocker
> Fix For: 4.4.0
>
>
> Test case
> integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM.test_deploy_vgpu_enabled_vm
> failing in BVT
> 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'8wj_03oPp3z6PQXsldtXr3ChyTC4UsL9BOx9gRCT30xsgLqo3uQhklIturqaW5KgZPbpy_vkNUd0h8g_hTVs5A',
> 'command': 'listDomains', 'signature': '8Yh5KlFqCsxhD/NB2fOBHSPL1kI=',
> '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=8wj_03oPp3z6PQXsldtXr3ChyTC4UsL9BOx9gRCT30xsgLqo3uQhklIturqaW5KgZPbpy_vkNUd0h8g_hTVs5A&command=listDomains&response=json&signature=8Yh5KlFqCsxhD%2FNB2fOBHSPL1kI%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'6b3a436e-ef1f-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'8wj_03oPp3z6PQXsldtXr3ChyTC4UsL9BOx9gRCT30xsgLqo3uQhklIturqaW5KgZPbpy_vkNUd0h8g_hTVs5A',
> 'name': 'zone-xen', 'command': 'listZones', 'signature':
> 'Z7nIBao2vEVG1YiHM2kVrh6QcPY=', '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=8wj_03oPp3z6PQXsldtXr3ChyTC4UsL9BOx9gRCT30xsgLqo3uQhklIturqaW5KgZPbpy_vkNUd0h8g_hTVs5A&command=listZones&name=zone-xen&signature=Z7nIBao2vEVG1YiHM2kVrh6QcPY%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'562e3c93-9149-38c6-8555-de48e3e6c847', 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'ad43d834-dc57-4da5-b3ae-0ef3f106192b', internaldns2 :
> u'172.16.88.8'}]
> test_deploy_vgpu_enabled_vm
> (integration.smoke.test_deploy_vgpu_enabled_vm.TestDeployvGPUenabledVM):
> DEBUG: Payload: {'apiKey':
> u'8wj_03oPp3z6PQXsldtXr3ChyTC4UsL9BOx9gRCT30xsgLqo3uQhklIturqaW5KgZPbpy_vkNUd0h8g_hTVs5A',
> 'templatefilter': 'featured', 'command': 'listTemplates', 'signature':
> 'KGHcOyWgw042qhRsMQWkZ7VdUIM=', 'zoneid':
> u'ad43d834-dc57-4da5-b3ae-0ef3f106192b', '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=8wj_03oPp3z6PQXsldtXr3ChyTC4UsL9BOx9gRCT30xsgLqo3uQhklIturqaW5KgZPbpy_vkNUd0h8g_hTVs5A&zoneid=ad43d834-dc57-4da5-b3ae-0ef3f106192b&command=listTemplates&signature=KGHcOyWgw042qhRsMQWkZ7VdUIM%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'6b3a436e-ef1f-11e3-a141-00163e189e44', ostypename : u'CentOS 5.6 (64-bit)',
> zoneid : u'ad43d834-dc57-4da5-b3ae-0ef3f106192b', displaytext : u'CentOS
> 5.6(64-bit) no GUI (XenServer)', ostypeid :
> u'6ad2a9e8-ef1f-11e3-a141-00163e189e44', passwordenabled : False, id :
> u'6acca0b6-ef1f-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-08T08:27:57-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-RU3WYF',
> 'domainid': u'6b3a436e-ef1f-11e3-a141-00163e189e44', 'firstname': 'Test',
> 'lastname': 'User', 'response': 'json', 'apiKey':
> u'8wj_03oPp3z6PQXsldtXr3ChyTC4UsL9BOx9gRCT30xsgLqo3uQhklIturqaW5KgZPbpy_vkNUd0h8g_hTVs5A',
> 'command': 'createAccount', 'accounttype': 0, 'signature':
> 'PPNPPEOGaDSKbU2ChKv23iOn9SM=', 'password': 'password', 'email':
> '[email protected]'}
> 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-RU3WYF&domainid=6b3a436e-ef1f-11e3-a141-00163e189e44&firstname=Test&lastname=User&email=test%40test.com&apiKey=8wj_03oPp3z6PQXsldtXr3ChyTC4UsL9BOx9gRCT30xsgLqo3uQhklIturqaW5KgZPbpy_vkNUd0h8g_hTVs5A&command=createAccount&accounttype=0&signature=PPNPPEOGaDSKbU2ChKv23iOn9SM%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'6b3a436e-ef1f-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'301086e5-6345-4115-83b7-8d7848dc3512', 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-RU3WYF', account :
> u'test-TestDeployvGPUenabledVM-test_deploy_vgpu_enabled_vm-RU3WYF', domainid
> : u'6b3a436e-ef1f-11e3-a141-00163e189e44', firstname : u'Test', created :
> u'2014-06-08T08:32:46-0700', lastname : u'User', domain : u'ROOT', id :
> u'553f4ce4-cfe7-4d30-a29a-7a0cd7dcb774', iscallerchilddomain : False, state :
> u'enabled', accounttype : 0, email : u'[email protected]', isdefault : False,
> accountid : u'301086e5-6345-4115-83b7-8d7848dc3512'}], groups : [],
> projectavailable : u'Unlimited', isdefault : False, primarystoragelimit :
> u'Unlimited', secondarystoragelimit : u'Unlimited', volumeavailable :
> u'Unlimited', name :
> u'test-TestDeployvGPUenabledVM-test_deploy_vgpu_enabled_vm-RU3WYF',
> 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'8wj_03oPp3z6PQXsldtXr3ChyTC4UsL9BOx9gRCT30xsgLqo3uQhklIturqaW5KgZPbpy_vkNUd0h8g_hTVs5A',
> 'serviceofferingdetails': {'pciDevice': 'VGPU'}, 'cpunumber': 2, 'memory':
> 3072, 'cpuspeed': 1600, 'response': 'json', 'name': 'Windows Instance with
> vGPU260Q', 'command': 'createServiceOffering', 'signature':
> 'tQTtAadU2UF5MNCD1nej7PWhMqM=', '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=8wj_03oPp3z6PQXsldtXr3ChyTC4UsL9BOx9gRCT30xsgLqo3uQhklIturqaW5KgZPbpy_vkNUd0h8g_hTVs5A&serviceofferingdetails=pciDevice&memory=3072&signature=tQTtAadU2UF5MNCD1nej7PWhMqM%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/598/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/598/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/598/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 306, in __parseAndGetResponse
> response_cls)
> File
> "/automation/virtenv/00-16-3e-18-9e-44/598/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 0x1c84c10> Exception: ['Traceback (most recent call last):\n', ' File
> "/automation/virtenv/00-16-3e-18-9e-44/598/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/598/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/598/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/598/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/598/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/598/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']
> --------------------- >> end captured logging << ---------------------
> Stacktrace
> File "/usr/local/lib/python2.7/unittest/case.py", line 322, in run
> self.setUp()
> File
> "/automation/virtenv/00-16-3e-18-9e-44/598/test/integration/smoke/test_deploy_vgpu_enabled_vm.py",
> line 147, in setUp
> serviceofferingdetails={'pciDevice': 'VGPU'}
> File
> "/automation/virtenv/00-16-3e-18-9e-44/598/testenv/lib/python2.7/site-packages/marvin/lib/base.py",
> line 1868, in create
> return ServiceOffering(apiclient.createServiceOffering(cmd).__dict__)
> File
> "/automation/virtenv/00-16-3e-18-9e-44/598/testenv/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
> line 892, in createServiceOffering
> response = self.connection.marvinRequest(command, response_type=response,
> method=method)
> File
> "/automation/virtenv/00-16-3e-18-9e-44/598/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 378, in marvinRequest
> raise e
> '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)