You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by Hasan <ha...@apache.org> on 2014/02/08 10:34:10 UTC

Failed to build Clerezza on Jenkins

Dear Jenkins Admin

We chose maven-3.0.4 on Clerezza Jenkins configuration and this leads to
the following error : java.io.IOException: Failed to mkdirs:
/home/hudson/tools/maven/apache-maven-3.0.4

I just changed it to maven-latest to see what happens. But the real problem
is why it failed to mkdir

Could you please help?

The details of the Git Polling Log reads:

Started on 08-Feb-2014 09:08:15
Using strategy: Default
[poll] Last Built Revision: Revision
416fa75028fae005d968bd2c60d51f38ca174454 (origin/master)
FATAL: Failed to install
http://archive.apache.org/dist/maven/binaries/apache-maven-3.0.4-bin.zip to
/home/hudson/tools/maven/apache-maven-3.0.4
java.io.IOException: Failed to install
http://archive.apache.org/dist/maven/binaries/apache-maven-3.0.4-bin.zip to
/home/hudson/tools/maven/apache-maven-3.0.4
at hudson.FilePath.installIfNecessaryFrom(FilePath.java:766)
at
hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:70)
at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
at
hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:204)
at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:610)
at
hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:182)
at hudson.model.Run.getEnvironment(Run.java:2163)
at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:479)
at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:456)
at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
at hudson.scm.SCM.poll(SCM.java:373)
at hudson.model.AbstractProject._poll(AbstractProject.java:1584)
at hudson.model.AbstractProject.poll(AbstractProject.java:1493)
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:456)
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:485)
at
hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.io.IOException: Failed to mkdirs:
/home/hudson/tools/maven/apache-maven-3.0.4
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.FilePath.installIfNecessaryFrom(FilePath.java:732)
... 21 more
Done. Took 0.43 sec
No changes
-----------

Best regards
Hasan

Re: Failed to build Clerezza on Jenkins

Posted by Hasan Hasan <ha...@trialox.org>.
Thanks Olivier for the hint.

Fully agree with Hervé.

Regards
Hasan

On Sat, Feb 8, 2014 at 2:26 PM, Hervé BOUTEMY <he...@free.fr> wrote:

> if the configuration isn't supported, why is it proposed?
>
> A lot of people are hit by this problem: this is not the first time people
> report and have this answer
>
> Is there a plan to fix issues? either by removing the configuration or
> making it
> work?
> Can we help? (better than asking if people with karma are working on any
> anything)
>
> Regards,
>
> Hervé
>
> Le samedi 8 février 2014 22:44:38 Olivier Lamy a écrit :
> > use maven-3.0.5
> >
> > On 8 February 2014 20:34, Hasan <ha...@apache.org> wrote:
> > > Dear Jenkins Admin
> > >
> > > We chose maven-3.0.4 on Clerezza Jenkins configuration and this leads
> to
> > > the following error : java.io.IOException: Failed to mkdirs:
> > > /home/hudson/tools/maven/apache-maven-3.0.4
> > >
> > > I just changed it to maven-latest to see what happens. But the real
> > > problem
> > > is why it failed to mkdir
> > >
> > > Could you please help?
> > >
> > > The details of the Git Polling Log reads:
> > >
> > > Started on 08-Feb-2014 09:08:15
> > > Using strategy: Default
> > > [poll] Last Built Revision: Revision
> > > 416fa75028fae005d968bd2c60d51f38ca174454 (origin/master)
> > > FATAL: Failed to install
> > >
> http://archive.apache.org/dist/maven/binaries/apache-maven-3.0.4-bin.zip
> > > to
> > > /home/hudson/tools/maven/apache-maven-3.0.4
> > > java.io.IOException: Failed to install
> > >
> http://archive.apache.org/dist/maven/binaries/apache-maven-3.0.4-bin.zip
> > > to
> > > /home/hudson/tools/maven/apache-maven-3.0.4
> > > at hudson.FilePath.installIfNecessaryFrom(FilePath.java:766)
> > > at
> > >
> hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlI
> > > nstaller.java:70) at
> > >
> hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
> > > at
> > >
> hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty
> > > .java:107) at
> > > hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:204)
> at
> > > hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:610)
> > > at
> > >
> hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:1
> > > 82) at hudson.model.Run.getEnvironment(Run.java:2163)
> > > at
> > >
> hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:479)
> > > at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:456)
> > > at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
> > > at hudson.scm.SCM.poll(SCM.java:373)
> > > at hudson.model.AbstractProject._poll(AbstractProject.java:1584)
> > > at hudson.model.AbstractProject.poll(AbstractProject.java:1493)
> > > at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:456)
> > > at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:485)
> > > at
> > >
> hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQue
> > > ue.java:118) at
> > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > > at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> > > at
> > >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
> > > 1145) at
> > >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
> > > :615) at java.lang.Thread.run(Thread.java:744)
> > > Caused by: java.io.IOException: Failed to mkdirs:
> > > /home/hudson/tools/maven/apache-maven-3.0.4
> > > at hudson.FilePath.mkdirs(FilePath.java:1069)
> > > at hudson.FilePath.installIfNecessaryFrom(FilePath.java:732)
> > > ... 21 more
> > > Done. Took 0.43 sec
> > > No changes
> > > -----------
> > >
> > > Best regards
> > > Hasan
>
>

Re: Failed to build Clerezza on Jenkins

Posted by Hervé BOUTEMY <he...@free.fr>.
if the configuration isn't supported, why is it proposed?

A lot of people are hit by this problem: this is not the first time people 
report and have this answer

Is there a plan to fix issues? either by removing the configuration or making it 
work?
Can we help? (better than asking if people with karma are working on any 
anything)

Regards,

Hervé

Le samedi 8 février 2014 22:44:38 Olivier Lamy a écrit :
> use maven-3.0.5
> 
> On 8 February 2014 20:34, Hasan <ha...@apache.org> wrote:
> > Dear Jenkins Admin
> > 
> > We chose maven-3.0.4 on Clerezza Jenkins configuration and this leads to
> > the following error : java.io.IOException: Failed to mkdirs:
> > /home/hudson/tools/maven/apache-maven-3.0.4
> > 
> > I just changed it to maven-latest to see what happens. But the real
> > problem
> > is why it failed to mkdir
> > 
> > Could you please help?
> > 
> > The details of the Git Polling Log reads:
> > 
> > Started on 08-Feb-2014 09:08:15
> > Using strategy: Default
> > [poll] Last Built Revision: Revision
> > 416fa75028fae005d968bd2c60d51f38ca174454 (origin/master)
> > FATAL: Failed to install
> > http://archive.apache.org/dist/maven/binaries/apache-maven-3.0.4-bin.zip
> > to
> > /home/hudson/tools/maven/apache-maven-3.0.4
> > java.io.IOException: Failed to install
> > http://archive.apache.org/dist/maven/binaries/apache-maven-3.0.4-bin.zip
> > to
> > /home/hudson/tools/maven/apache-maven-3.0.4
> > at hudson.FilePath.installIfNecessaryFrom(FilePath.java:766)
> > at
> > hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlI
> > nstaller.java:70) at
> > hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
> > at
> > hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty
> > .java:107) at
> > hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:204) at
> > hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:610)
> > at
> > hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:1
> > 82) at hudson.model.Run.getEnvironment(Run.java:2163)
> > at
> > hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:479)
> > at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:456)
> > at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
> > at hudson.scm.SCM.poll(SCM.java:373)
> > at hudson.model.AbstractProject._poll(AbstractProject.java:1584)
> > at hudson.model.AbstractProject.poll(AbstractProject.java:1493)
> > at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:456)
> > at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:485)
> > at
> > hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQue
> > ue.java:118) at
> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> > at
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
> > 1145) at
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
> > :615) at java.lang.Thread.run(Thread.java:744)
> > Caused by: java.io.IOException: Failed to mkdirs:
> > /home/hudson/tools/maven/apache-maven-3.0.4
> > at hudson.FilePath.mkdirs(FilePath.java:1069)
> > at hudson.FilePath.installIfNecessaryFrom(FilePath.java:732)
> > ... 21 more
> > Done. Took 0.43 sec
> > No changes
> > -----------
> > 
> > Best regards
> > Hasan


Re: Failed to build Clerezza on Jenkins

Posted by Olivier Lamy <ol...@apache.org>.
use maven-3.0.5

On 8 February 2014 20:34, Hasan <ha...@apache.org> wrote:
> Dear Jenkins Admin
>
> We chose maven-3.0.4 on Clerezza Jenkins configuration and this leads to
> the following error : java.io.IOException: Failed to mkdirs:
> /home/hudson/tools/maven/apache-maven-3.0.4
>
> I just changed it to maven-latest to see what happens. But the real problem
> is why it failed to mkdir
>
> Could you please help?
>
> The details of the Git Polling Log reads:
>
> Started on 08-Feb-2014 09:08:15
> Using strategy: Default
> [poll] Last Built Revision: Revision
> 416fa75028fae005d968bd2c60d51f38ca174454 (origin/master)
> FATAL: Failed to install
> http://archive.apache.org/dist/maven/binaries/apache-maven-3.0.4-bin.zip to
> /home/hudson/tools/maven/apache-maven-3.0.4
> java.io.IOException: Failed to install
> http://archive.apache.org/dist/maven/binaries/apache-maven-3.0.4-bin.zip to
> /home/hudson/tools/maven/apache-maven-3.0.4
> at hudson.FilePath.installIfNecessaryFrom(FilePath.java:766)
> at
> hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:70)
> at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
> at
> hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
> at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:204)
> at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:610)
> at
> hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:182)
> at hudson.model.Run.getEnvironment(Run.java:2163)
> at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:479)
> at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:456)
> at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
> at hudson.scm.SCM.poll(SCM.java:373)
> at hudson.model.AbstractProject._poll(AbstractProject.java:1584)
> at hudson.model.AbstractProject.poll(AbstractProject.java:1493)
> at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:456)
> at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:485)
> at
> hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:744)
> Caused by: java.io.IOException: Failed to mkdirs:
> /home/hudson/tools/maven/apache-maven-3.0.4
> at hudson.FilePath.mkdirs(FilePath.java:1069)
> at hudson.FilePath.installIfNecessaryFrom(FilePath.java:732)
> ... 21 more
> Done. Took 0.43 sec
> No changes
> -----------
>
> Best regards
> Hasan



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy