You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Prasanna Santhanam (JIRA)" <ji...@apache.org> on 2013/07/22 19:26:51 UTC
[jira] [Resolved] (CLOUDSTACK-3672) [Automation]
integration.component.test_tags 4 test cases failed due to multiple
reasons
[ https://issues.apache.org/jira/browse/CLOUDSTACK-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prasanna Santhanam resolved CLOUDSTACK-3672.
--------------------------------------------
Resolution: Fixed
> [Automation] integration.component.test_tags 4 test cases failed due to multiple reasons
> -----------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3672
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3672
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Automation, VMware
> Affects Versions: 4.2.0
> Environment: VMWARE
> Reporter: Parth Jagirdar
> Assignee: Prasanna Santhanam
> Attachments: VMware_Adv.7z
>
>
> integration.component.test_tags.TestResourceTags.test_04_vpn_tag (from nosetests)
> Failing for the past 1 build (Since #67 )
> Took 21 sec.
> add description
> Error Message
> Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Invalid resource type VPN'}
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestResourceTags: DEBUG: Fetching the network details for account: test-DZT1BA
> testclient.testcase.TestResourceTags: DEBUG: Network for the account: test-DZT1BA is test-DZT1BA-network
> testclient.testcase.TestResourceTags: DEBUG: Associating public IP for network: 5fc01c94-8b7d-4286-9b4f-aee0caa3a961
> testclient.testcase.TestResourceTags: DEBUG: Creating VPN with public NAT IP: 10.223.243.14
> testclient.testcase.TestResourceTags: DEBUG: Creating a tag for VPN rule
> --------------------- >> end captured logging << ---------------------
> Stacktrace
> File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
> testMethod()
> File "/data/Repo2/qa/cloudstack/test/integration/component/test_tags.py", line 785, in test_04_vpn_tag
> tags={'protocol': 'L2TP'}
> File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 2802, in create
> return Tag(apiclient.createTags(cmd).__dict__)
> File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2075, in createTags
> response = self.connection.marvin_request(command, response_type=response, method=method)
> File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 230, in marvin_request
> response = self.poll(asyncJobId, response_type)
> File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll
> "asyncquery", asyncResonse.jobresult)
> Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Invalid resource type VPN'}
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestResourceTags: DEBUG: Fetching the network details for account: test-DZT1BA
> testclient.testcase.TestResourceTags: DEBUG: Network for the account: test-DZT1BA is test-DZT1BA-network
> testclient.testcase.TestResourceTags: DEBUG: Associating public IP for network: 5fc01c94-8b7d-4286-9b4f-aee0caa3a961
> testclient.testcase.TestResourceTags: DEBUG: Creating VPN with public NAT IP: 10.223.243.14
> testclient.testcase.TestResourceTags: DEBUG: Creating a tag for VPN rule
> --------------------- >> end captured logging << ---------------------
> integration.component.test_tags.TestResourceTags.test_06_template_tag (from nosetests)
> Failing for the past 1 build (Since #67 )
> Took 1 min 15 sec.
> add description
> Error Message
> Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u"Failed to create templateCreatePrivateTemplateFromVolumeCommand exception: java.lang.Exception: unable to prepare template directory: template/tmpl/33/208, storage: nfs://10.223.110.232:/export/home/automation/SC-CLOUD-QA03/secondary1, error msg: mkdir: cannot create directory `/var/cloudstack/mnt/VM/90928106758026.16683e49/template/tmpl/33': Permission denied\ncom.cloud.storage.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageProcessor.java:492)\ncom.cloud.storage.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageProcessor.java:576)\ncom.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:81)\ncom.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)\ncom.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:565)\ncom.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)\njava.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\njava.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)\njava.util.concurrent.FutureTask.run(FutureTask.java:166)\njava.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)\njava.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)\njava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)\njava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)\njava.lang.Thread.run(Thread.java:722)\n"}
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestResourceTags: DEBUG: Stopping the virtual machine: b447e3c2-e101-4944-9db8-10da59a0ba60
> testclient.testcase.TestResourceTags: DEBUG: Creating template from ROOT disk of virtual machine: b447e3c2-e101-4944-9db8-10da59a0ba60
> --------------------- >> end captured logging << ---------------------
> Stacktrace
> File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
> testMethod()
> File "/data/Repo2/qa/cloudstack/test/integration/component/test_tags.py", line 959, in test_06_template_tag
> self.volume.id
> File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 793, in create
> return Template(apiclient.createTemplate(cmd).__dict__)
> File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 720, in createTemplate
> response = self.connection.marvin_request(command, response_type=response, method=method)
> File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 230, in marvin_request
> response = self.poll(asyncJobId, response_type)
> File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll
> "asyncquery", asyncResonse.jobresult)
> Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u"Failed to create templateCreatePrivateTemplateFromVolumeCommand exception: java.lang.Exception: unable to prepare template directory: template/tmpl/33/208, storage: nfs://10.223.110.232:/export/home/automation/SC-CLOUD-QA03/secondary1, error msg: mkdir: cannot create directory `/var/cloudstack/mnt/VM/90928106758026.16683e49/template/tmpl/33': Permission denied\ncom.cloud.storage.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageProcessor.java:492)\ncom.cloud.storage.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageProcessor.java:576)\ncom.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:81)\ncom.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)\ncom.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:565)\ncom.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)\njava.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\njava.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)\njava.util.concurrent.FutureTask.run(FutureTask.java:166)\njava.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)\njava.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)\njava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)\njava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)\njava.lang.Thread.run(Thread.java:722)\n"}
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestResourceTags: DEBUG: Stopping the virtual machine: b447e3c2-e101-4944-9db8-10da59a0ba60
> testclient.testcase.TestResourceTags: DEBUG: Creating template from ROOT disk of virtual machine: b447e3c2-e101-4944-9db8-10da59a0ba60
> --------------------- >> end captured logging << ---------------------
> integration.component.test_tags.TestResourceTags.test_07_iso_tag (from nosetests)
> Failing for the past 1 build (Since #67 )
> Took 5.8 sec.
> add description
> Error Message
> List isos should not return an empty response
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestResourceTags: DEBUG: ISO created with ID: c28884f3-25bf-47b5-a8a6-2b2ca90700a0
> testclient.testcase.TestResourceTags: DEBUG: Creating a tag for the ISO
> testclient.testcase.TestResourceTags: DEBUG: Tag created: {'success': True}
> --------------------- >> end captured logging << ---------------------
> Stacktrace
> File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
> testMethod()
> File "/data/Repo2/qa/cloudstack/test/integration/component/test_tags.py", line 1097, in test_07_iso_tag
> "List isos should not return an empty response"
> File "/usr/local/lib/python2.7/unittest/case.py", line 494, in assertEqual
> assertion_func(first, second, msg=msg)
> File "/usr/local/lib/python2.7/unittest/case.py", line 487, in _baseAssertEqual
> raise self.failureException(msg)
> List isos should not return an empty response
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestResourceTags: DEBUG: ISO created with ID: c28884f3-25bf-47b5-a8a6-2b2ca90700a0
> testclient.testcase.TestResourceTags: DEBUG: Creating a tag for the ISO
> testclient.testcase.TestResourceTags: DEBUG: Tag created: {'success': True}
> --------------------- >> end captured logging << ---------------------
> integration.component.test_tags.TestResourceTags.test_18_invalid_list_parameters (from nosetests)
> Failing for the past 1 build (Since #67 )
> Took 5.1 sec.
> add description
> Error Message
> Execute cmd: listvirtualmachines failed, due to: errorCode: 401, errorText:unable to verify user credentials and/or request signature
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestResourceTags: DEBUG: Creating a tag for user VM
> testclient.testcase.TestResourceTags: DEBUG: Tag created: {'success': True}
> testclient.testcase.TestResourceTags: DEBUG: Passing invalid key parameter to the listAPI for vms
> --------------------- >> end captured logging << ---------------------
> Stacktrace
> File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
> testMethod()
> File "/data/Repo2/qa/cloudstack/test/integration/component/test_tags.py", line 1977, in test_18_invalid_list_parameters
> tags={'region111': 'India'}
> File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 519, in list
> return(apiclient.listVirtualMachines(cmd))
> File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 645, in listVirtualMachines
> response = self.connection.marvin_request(command, response_type=response, method=method)
> File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 222, in marvin_request
> response = jsonHelper.getResultObj(response.json(), response_type)
> File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 148, in getResultObj
> raise cloudstackException.cloudstackAPIException(respname, errMsg)
> Execute cmd: listvirtualmachines failed, due to: errorCode: 401, errorText:unable to verify user credentials and/or request signature
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestResourceTags: DEBUG: Creating a tag for user VM
> testclient.testcase.TestResourceTags: DEBUG: Tag created: {'success': True}
> testclient.testcase.TestResourceTags: DEBUG: Passing invalid key parameter to the listAPI for vms
> --------------------- >> end captured logging << ---------------------
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira