hudson.util.IOException2: Failed to extract /home/jenkins/workspace/Maven Build/Diffusion/Main/modules/module1/src/main/java/**/*

Jenkins JIRA | Philip Aston | 3 years ago
  1. 0

    The plugin can fail with a maven multi-module project, that has duplicate source files in different modules. For example, if two projects define {{com/somepackage/package-info.java}}, the first one is copied to the target jacoco/sources directory, its permissions are set to read only, and so the second one fails ... {noformat} hudson.util.IOException2: Failed to extract /home/jenkins/workspace/Maven Build/Diffusion/Main/modules/module1/src/main/java/**/* at hudson.FilePath.readFromTar(FilePath.java:2041) at hudson.FilePath.copyRecursiveTo(FilePath.java:1953) at hudson.FilePath.copyRecursiveTo(FilePath.java:1858) at hudson.FilePath.copyRecursiveTo(FilePath.java:1843) at hudson.plugins.jacoco.JacocoReportDir.saveSourcesFrom(JacocoReportDir.java:46) at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:350) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1622) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Caused by: java.io.FileNotFoundException: /home/tester/.jenkins/jobs/Maven Build/builds/2013-09-16_10-22-57/jacoco/sources/com/somepackage/package-info.java (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:194) at java.io.FileOutputStream.<init>(FileOutputStream.java:145) at hudson.util.IOUtils.copy(IOUtils.java:35) at hudson.FilePath.readFromTar(FilePath.java:2031) {noformat} A general solution to this problem is for the plugin to associate each exec file with a separate source directory.

    Jenkins JIRA | 3 years ago | Philip Aston
    hudson.util.IOException2: Failed to extract /home/jenkins/workspace/Maven Build/Diffusion/Main/modules/module1/src/main/java/**/*
  2. 0

    The plugin can fail with a maven multi-module project, that has duplicate source files in different modules. For example, if two projects define {{com/somepackage/package-info.java}}, the first one is copied to the target jacoco/sources directory, its permissions are set to read only, and so the second one fails ... {noformat} hudson.util.IOException2: Failed to extract /home/jenkins/workspace/Maven Build/Diffusion/Main/modules/module1/src/main/java/**/* at hudson.FilePath.readFromTar(FilePath.java:2041) at hudson.FilePath.copyRecursiveTo(FilePath.java:1953) at hudson.FilePath.copyRecursiveTo(FilePath.java:1858) at hudson.FilePath.copyRecursiveTo(FilePath.java:1843) at hudson.plugins.jacoco.JacocoReportDir.saveSourcesFrom(JacocoReportDir.java:46) at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:350) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1622) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Caused by: java.io.FileNotFoundException: /home/tester/.jenkins/jobs/Maven Build/builds/2013-09-16_10-22-57/jacoco/sources/com/somepackage/package-info.java (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:194) at java.io.FileOutputStream.<init>(FileOutputStream.java:145) at hudson.util.IOUtils.copy(IOUtils.java:35) at hudson.FilePath.readFromTar(FilePath.java:2031) {noformat} A general solution to this problem is for the plugin to associate each exec file with a separate source directory.

    Jenkins JIRA | 3 years ago | Philip Aston
    hudson.util.IOException2: Failed to extract /home/jenkins/workspace/Maven Build/Diffusion/Main/modules/module1/src/main/java/**/*
  3. 0

    Error on trying to run example job

    GitHub | 2 years ago | afarnoosh
    java.io.FileNotFoundException: /51838945/java-wc.zip (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bugg v0.3.7 - Går inte att ladda upp bilder i admin

    GitHub | 5 years ago | IgorJovic
    java.io.FileNotFoundException: web-app\uploads\images\Who-is-your-Judge.jpg (The system cannot find the path specified)
  6. 0

    having trouble backing up DIM1

    GitHub | 4 years ago | BornToDoStuff
    java.io.FileNotFoundException: Backup/FTB_DIM_1/2013/3/14_22:19.zip (No such file or directory)

  1. eti22 3 times, last 2 weeks ago
  2. tyson925 49 times, last 1 week ago
  3. MoYapro 1 times, last 1 month ago
  4. musketyr 3 times, last 1 month ago
  5. iridic 12 times, last 1 month ago
23 more registered users
72 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    /home/tester/.jenkins/jobs/Maven Build/builds/2013-09-16_10-22-57/jacoco/sources/com/somepackage/package-info.java (Permission denied)

    at java.io.FileOutputStream.open()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:194)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:145)
    3 frames
  3. Hudson
    FilePath.readFromTar
    1. hudson.util.IOUtils.copy(IOUtils.java:35)
    2. hudson.FilePath.readFromTar(FilePath.java:2031)
    2 frames