Skip to content

Version 0.8 - incompatibility with Docker 1.4.0 - 'Failed to mkdirs' #129

Closed
@hcguersoy

Description

@hcguersoy

Hi,

I tested today the plugin version 0.8 against docker 1.4.0.

Looks at the first glance nice e.g. containers starting very fast.

But trying to build a simple java project fails immediately while trying to install Maven:

FATAL: Failed to install http://archive.apache.org/dist/maven/binaries/apache-maven-3.2.1-bin.zip to /home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.2.1
java.io.IOException: Failed to install http://archive.apache.org/dist/maven/binaries/apache-maven-3.2.1-bin.zip to /home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.2.1
    at hudson.FilePath.installIfNecessaryFrom(FilePath.java:822)
    at hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:70)
    at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68)
    at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
    at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:205)
    at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:609)
    at hudson.tasks.Maven.perform(Maven.java:288)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
    at hudson.model.Build$BuildExecution.build(Build.java:199)
    at hudson.model.Build$BuildExecution.doRun(Build.java:160)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533)
    at hudson.model.Run.execute(Run.java:1745)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:89)
    at hudson.model.Executor.run(Executor.java:240)
Caused by: java.io.IOException: Failed to mkdirs: /home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.2.1
    at hudson.FilePath.mkdirs(FilePath.java:1153)
    at hudson.FilePath.installIfNecessaryFrom(FilePath.java:788)
    ... 15 more

Downgrading Docker on my slaves to 1.3.2 helps and the job runs fine again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions