java.io.IOException: Failed to mkdirs: /home/delta/hudson/workspace/lisa-review-single

Jenkins JIRA | tisoft_media | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JENKINS-7823] Wrong Permission of slave workspace - Jenkins JIRA

    jenkins-ci.org | 6 months ago
    java.io.IOException: Failed to mkdirs: /home/delta/hudson/workspace/lisa-review-single
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    I'm seeing the following problem with the latest version (i.e. 1.5) of the promoted builds plugin. Even though i tie a job on which promotions are defined to the master, Hudson is trying to execute some of the promotions on the slave(s) resulting in the following error. Started by user <abc> Building remotely on lnx-slave-1 FATAL: Failed to mkdirs: /opt/hudson/conf/jobs/<job-name>/workspace java.io.IOException: Failed to mkdirs: /opt/hudson/conf/jobs/<job-name>/workspace at hudson.FilePath.mkdirs(FilePath.java:739) at hudson.model.AbstractProject.checkout(AbstractProject.java:977) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:421) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:370) at hudson.model.Run.run(Run.java:1120) at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:74) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:123) Error seen in the hudson UI for a promotion failing due to above error is "promotion didn't happen.......re-execute the promotion" For now, "Andrew bayer" suggested the following workaround and it works nicely. a.) goto "/opt/hudson/conf/jobs/<job-name>/promotions/<promotion-name> b.) Open the "config.xml" and add the following 2 lines <assignedNode>master</assignedNode> <canRoam>false</canRoam> c.) Once you add these lines, goto "Hudson->Manage Hudson" and click on "Reload configuration from the disk". d.) Re-execute the promotion and it will work now.

    Jenkins JIRA | 7 years ago | amarkanth1984
    java.io.IOException: Failed to mkdirs: /opt/hudson/conf/jobs/<job-name>/workspace
  4. 0

    I'm seeing the following problem with the latest version (i.e. 1.5) of the promoted builds plugin. Even though i tie a job on which promotions are defined to the master, Hudson is trying to execute some of the promotions on the slave(s) resulting in the following error. Started by user <abc> Building remotely on lnx-slave-1 FATAL: Failed to mkdirs: /opt/hudson/conf/jobs/<job-name>/workspace java.io.IOException: Failed to mkdirs: /opt/hudson/conf/jobs/<job-name>/workspace at hudson.FilePath.mkdirs(FilePath.java:739) at hudson.model.AbstractProject.checkout(AbstractProject.java:977) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:421) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:370) at hudson.model.Run.run(Run.java:1120) at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:74) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:123) Error seen in the hudson UI for a promotion failing due to above error is "promotion didn't happen.......re-execute the promotion" For now, "Andrew bayer" suggested the following workaround and it works nicely. a.) goto "/opt/hudson/conf/jobs/<job-name>/promotions/<promotion-name> b.) Open the "config.xml" and add the following 2 lines <assignedNode>master</assignedNode> <canRoam>false</canRoam> c.) Once you add these lines, goto "Hudson->Manage Hudson" and click on "Reload configuration from the disk". d.) Re-execute the promotion and it will work now.

    Jenkins JIRA | 7 years ago | amarkanth1984
    java.io.IOException: Failed to mkdirs: /opt/hudson/conf/jobs/<job-name>/workspace

    Root Cause Analysis

    1. java.io.IOException

      Failed to mkdirs: /home/delta/hudson/workspace/lisa-review-single

      at hudson.FilePath.mkdirs()
    2. Hudson
      Run.run
      1. hudson.FilePath.mkdirs(FilePath.java:812)
      2. hudson.model.AbstractProject.checkout(AbstractProject.java:1080)
      3. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
      4. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
      5. hudson.model.Run.run(Run.java:1280)
      5 frames
    3. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:293)
      1 frame
    4. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:140)
      2 frames