Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B134C10334 for ; Fri, 19 Jul 2013 21:18:48 +0000 (UTC) Received: (qmail 21804 invoked by uid 500); 19 Jul 2013 21:18:48 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 21786 invoked by uid 500); 19 Jul 2013 21:18:48 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 21779 invoked by uid 500); 19 Jul 2013 21:18:48 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 21776 invoked by uid 99); 19 Jul 2013 21:18:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jul 2013 21:18:48 +0000 Date: Fri, 19 Jul 2013 21:18:48 +0000 (UTC) From: "Parth Jagirdar (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-3672) [Automation] integration.component.test_tags 4 test cases failed due to multiple reasons MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Parth Jagirdar created CLOUDSTACK-3672: ------------------------------------------ Summary: [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 defa= ult.) Components: Automation, VMware Affects Versions: 4.2.0 Environment: VMWARE Reporter: Parth Jagirdar integration.component.test_tags.TestResourceTags.test_04_vpn_tag (from nose= tests) 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'Inv= alid resource type VPN'} -------------------- >> begin captured logging << -------------------- testclient.testcase.TestResourceTags: DEBUG: Fetching the network details f= or 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 netw= ork: 5fc01c94-8b7d-4286-9b4f-aee0caa3a961 testclient.testcase.TestResourceTags: DEBUG: Creating VPN with public NAT I= P: 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=3D{'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/cloudst= ackAPIClient.py", line 2075, in createTags response =3D self.connection.marvin_request(command, response_type=3Dre= sponse, method=3Dmethod) File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.= py", line 230, in marvin_request response =3D 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'Inv= alid resource type VPN'} -------------------- >> begin captured logging << -------------------- testclient.testcase.TestResourceTags: DEBUG: Fetching the network details f= or 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 netw= ork: 5fc01c94-8b7d-4286-9b4f-aee0caa3a961 testclient.testcase.TestResourceTags: DEBUG: Creating VPN with public NAT I= P: 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"Fai= led to create templateCreatePrivateTemplateFromVolumeCommand exception: jav= a.lang.Exception: unable to prepare template directory: template/tmpl/33/20= 8, storage: nfs://10.223.110.232:/export/home/automation/SC-CLOUD-QA03/seco= ndary1, error msg: mkdir: cannot create directory `/var/cloudstack/mnt/VM/9= 0928106758026.16683e49/template/tmpl/33': Permission denied\ncom.cloud.stor= age.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageP= rocessor.java:492)\ncom.cloud.storage.resource.VmwareStorageProcessor.creat= eTemplateFromVolume(VmwareStorageProcessor.java:576)\ncom.cloud.storage.res= ource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHan= dlerBase.java:81)\ncom.cloud.storage.resource.StorageSubsystemCommandHandle= rBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)\nco= m.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareReso= urce.java:565)\ncom.cloud.agent.manager.DirectAgentAttache$Task.run(DirectA= gentAttache.java:186)\njava.util.concurrent.Executors$RunnableAdapter.call(= Executors.java:471)\njava.util.concurrent.FutureTask$Sync.innerRun(FutureTa= sk.java:334)\njava.util.concurrent.FutureTask.run(FutureTask.java:166)\njav= a.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$20= 1(ScheduledThreadPoolExecutor.java:178)\njava.util.concurrent.ScheduledThre= adPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292= )\njava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav= a:1110)\njava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu= tor.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 di= sk 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/cloudst= ackAPIClient.py", line 720, in createTemplate response =3D self.connection.marvin_request(command, response_type=3Dre= sponse, method=3Dmethod) File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.= py", line 230, in marvin_request response =3D 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"Fai= led to create templateCreatePrivateTemplateFromVolumeCommand exception: jav= a.lang.Exception: unable to prepare template directory: template/tmpl/33/20= 8, storage: nfs://10.223.110.232:/export/home/automation/SC-CLOUD-QA03/seco= ndary1, error msg: mkdir: cannot create directory `/var/cloudstack/mnt/VM/9= 0928106758026.16683e49/template/tmpl/33': Permission denied\ncom.cloud.stor= age.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageP= rocessor.java:492)\ncom.cloud.storage.resource.VmwareStorageProcessor.creat= eTemplateFromVolume(VmwareStorageProcessor.java:576)\ncom.cloud.storage.res= ource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHan= dlerBase.java:81)\ncom.cloud.storage.resource.StorageSubsystemCommandHandle= rBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)\nco= m.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareReso= urce.java:565)\ncom.cloud.agent.manager.DirectAgentAttache$Task.run(DirectA= gentAttache.java:186)\njava.util.concurrent.Executors$RunnableAdapter.call(= Executors.java:471)\njava.util.concurrent.FutureTask$Sync.innerRun(FutureTa= sk.java:334)\njava.util.concurrent.FutureTask.run(FutureTask.java:166)\njav= a.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$20= 1(ScheduledThreadPoolExecutor.java:178)\njava.util.concurrent.ScheduledThre= adPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292= )\njava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav= a:1110)\njava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu= tor.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 di= sk of virtual machine: b447e3c2-e101-4944-9db8-10da59a0ba60 --------------------- >> end captured logging << --------------------- integration.component.test_tags.TestResourceTags.test_07_iso_tag (from nose= tests) 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 assertEqua= l assertion_func(first, second, msg=3Dmsg) File "/usr/local/lib/python2.7/unittest/case.py", line 487, in _baseAsser= tEqual 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_param= eters (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=3D{'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/cloudst= ackAPIClient.py", line 645, in listVirtualMachines response =3D self.connection.marvin_request(command, response_type=3Dre= sponse, method=3Dmethod) File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.= py", line 222, in marvin_request response =3D 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 administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira