cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rayees Namathponnan (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-3676) [Automation] integration.component.test_usage, 2 test cases failed due to setup and permission issue
Date Wed, 06 Nov 2013 18:15:18 GMT

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

Rayees Namathponnan closed CLOUDSTACK-3676.
-------------------------------------------


Not found this issue with latest runs

> [Automation] integration.component.test_usage, 2 test cases failed due to setup and permission
issue
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3676
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3676
>             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: Rayees Namathponnan
>         Attachments: VMware_Adv.7z
>
>
> integration.component.test_usage.TestTemplateUsage.test_01_template_usage (from nosetests)
> Failing for the past 4 builds (Since #64 )
> Took 5.3 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/207/226, 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/207':
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"}
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/data/Repo2/qa/cloudstack/test/integration/component/test_usage.py", line 720,
in test_01_template_usage
>     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)
> cloudstackAPIException: 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/207/226, 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/207':
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"}
> <nose.suite.ContextSuite context=TestISOUsage>:setup (from nosetests)
> Failing for the past 6 builds (Since #62 )
> Took 0 ms.
> add description
> Error Message
> ISO download Timeout Exception: Failed to download ISO: d4060859-2018-45af-b4b6-62c142befcdb
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 208, in run
>     self.setUp()
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 291, in setUp
>     self.setupContext(ancestor)
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 314, in setupContext
>     try_run(context, names)
>   File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in try_run
>     return func()
>   File "/data/Repo2/qa/cloudstack/test/integration/component/test_usage.py", line 817,
in setUpClass
>     cls.iso.id
> Exception: ISO download Timeout Exception: Failed to download ISO: d4060859-2018-45af-b4b6-62c142befcdb



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message