hudson.util.IOException2: Failed to copy /home/hudson/workspace/jbosstools-3.3_stable_branch.jsf.bot.tests.codecoverage/jsf/tests/target/jacoco.exec to /var/root/.jenkins/jobs/jbosstools-3.3_stable_branch.jsf.bot.tests.codecoverage/builds/2012-08-22_17-04-37/jacoco/module0/jacoco.exec

Jenkins JIRA | Vlado Pakan | 5 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

    When running build with jacoco plugin setup I'm getting this error: [JaCoCo plugin] Saving module data.. ERROR: Publisher hudson.plugins.jacoco.JacocoPublisher aborted due to exception hudson.util.IOException2: Failed to copy /home/hudson/workspace/jbosstools-3.3_stable_branch.jsf.bot.tests.codecoverage/jsf/tests/target/jacoco.exec to /var/root/.jenkins/jobs/jbosstools-3.3_stable_branch.jsf.bot.tests.codecoverage/builds/2012-08-22_17-04-37/jacoco/module0/jacoco.exec at hudson.FilePath.copyTo(FilePath.java:1441) at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:143) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:619) at hudson.model.Run.run(Run.java:1429) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.io.FileNotFoundException: /home/hudson/workspace/jbosstools-3.3_stable_branch.jsf.bot.tests.codecoverage/jsf/tests/target/jacoco.exec (Input/output error) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at hudson.FilePath$31.invoke(FilePath.java:1467) at hudson.FilePath$31.invoke(FilePath.java:1462) at hudson.FilePath.act(FilePath.java:786) at hudson.FilePath.act(FilePath.java:766) at hudson.FilePath.copyTo(FilePath.java:1462) at hudson.FilePath.copyTo(FilePath.java:1436) ... 11 more But file exists on slave and is accessible via OS for the same user as Hudson job is using.

    Jenkins JIRA | 5 years ago | Vlado Pakan
    hudson.util.IOException2: Failed to copy /home/hudson/workspace/jbosstools-3.3_stable_branch.jsf.bot.tests.codecoverage/jsf/tests/target/jacoco.exec to /var/root/.jenkins/jobs/jbosstools-3.3_stable_branch.jsf.bot.tests.codecoverage/builds/2012-08-22_17-04-37/jacoco/module0/jacoco.exec
  2. 0

    When running build with jacoco plugin setup I'm getting this error: [JaCoCo plugin] Saving module data.. ERROR: Publisher hudson.plugins.jacoco.JacocoPublisher aborted due to exception hudson.util.IOException2: Failed to copy /home/hudson/workspace/jbosstools-3.3_stable_branch.jsf.bot.tests.codecoverage/jsf/tests/target/jacoco.exec to /var/root/.jenkins/jobs/jbosstools-3.3_stable_branch.jsf.bot.tests.codecoverage/builds/2012-08-22_17-04-37/jacoco/module0/jacoco.exec at hudson.FilePath.copyTo(FilePath.java:1441) at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:143) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:619) at hudson.model.Run.run(Run.java:1429) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.io.FileNotFoundException: /home/hudson/workspace/jbosstools-3.3_stable_branch.jsf.bot.tests.codecoverage/jsf/tests/target/jacoco.exec (Input/output error) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at hudson.FilePath$31.invoke(FilePath.java:1467) at hudson.FilePath$31.invoke(FilePath.java:1462) at hudson.FilePath.act(FilePath.java:786) at hudson.FilePath.act(FilePath.java:766) at hudson.FilePath.copyTo(FilePath.java:1462) at hudson.FilePath.copyTo(FilePath.java:1436) ... 11 more But file exists on slave and is accessible via OS for the same user as Hudson job is using.

    Jenkins JIRA | 5 years ago | Vlado Pakan
    hudson.util.IOException2: Failed to copy /home/hudson/workspace/jbosstools-3.3_stable_branch.jsf.bot.tests.codecoverage/jsf/tests/target/jacoco.exec to /var/root/.jenkins/jobs/jbosstools-3.3_stable_branch.jsf.bot.tests.codecoverage/builds/2012-08-22_17-04-37/jacoco/module0/jacoco.exec
  3. 0

    we generate source file during maven compile. These source files are not located at the default source location, but at different location (e.g. target/generated-sources) These sources are excluded from the maven-findBugs-plugin via exclude-filters. The HUDSON findBug plugin shows this stack trace: [FINDBUGS] Can't copy source file: source=de/deutschepost/rs/common/config/jaxb/impl/CategoryTypeImpl.java, destination=e8480754.tmp hudson.util.IOException2: Failed to copy de/deutschepost/rs/common/config/jaxb/impl/CategoryTypeImpl.java to D:\programme\hudson\hudson-1339\jobs\common-core\modules\component.dprs.common$common-core\builds\2010-01-06_13-07-51\workspace-files\e8480754.tmp at hudson.FilePath.copyTo(FilePath.java:1267) at hudson.plugins.analysis.core.HealthAwareMavenReporter.copyFilesWithAnnotationsToBuildFolder(HealthAwareMavenReporter.java:225) at hudson.plugins.analysis.core.HealthAwareMavenReporter.postExecute(HealthAwareMavenReporter.java:163) at hudson.maven.MavenModuleSetBuild$Builder.postExecute(MavenModuleSetBuild.java:749) at hudson.maven.MavenBuilder$Adapter.postExecute(MavenBuilder.java:287) at hudson.maven.agent.PluginManagerInterceptor$1MojoIntercepterImpl.callPost(PluginManagerInterceptor.java:170) at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:183) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at hudson.maven.agent.Main.launch(Main.java:165) at hudson.maven.MavenBuilder.call(MavenBuilder.java:159) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:688) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:632) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) Caused by: java.io.FileNotFoundException: de\deutschepost\rs\common\config\jaxb\impl\CategoryTypeImpl.java (Das System kann den angegebenen Pfad nicht finden) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at hudson.FilePath$30.invoke(FilePath.java:1291) at hudson.FilePath$30.invoke(FilePath.java:1287) at hudson.FilePath.act(FilePath.java:676) at hudson.FilePath.act(FilePath.java:660) at hudson.FilePath.copyTo(FilePath.java:1287) at hudson.FilePath.copyTo(FilePath.java:1262) ... 35 more

    Jenkins JIRA | 7 years ago | csc19601128
    hudson.util.IOException2: Failed to copy de/deutschepost/rs/common/config/jaxb/impl/CategoryTypeImpl.java to D:\programme\hudson\hudson-1339\jobs\common-core\modules\component.dprs.common$common-core\builds\2010-01-06_13-07-51\workspace-files\e8480754.tmp
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hi, I am getting the following error while connecting to Windows slave: Connecting to vbld002.ls.ln.com Copying slave.jar Starting the service Waiting for the service to become ready Connecting to port 1,244 <===[HUDSON REMOTING CAPACITY]===>���Slave.jar version: 1.354 This is a Windows slave ERROR: Unexpected error in launching a slave. This is probably a bug in Hudson hudson.util.IOException2: Failed to copy /data/hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.354.jar to c:\hudson\maven-agent.jar at hudson.FilePath.copyTo(FilePath.java:1334) at hudson.maven.MavenComputerListener.copyJar(MavenComputerListener.java:79) at hudson.maven.MavenComputerListener.preOnline(MavenComputerListener.java:54) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:326) at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:230) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:183) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) at java.lang.Thread.run(Thread.java:810) Caused by: java.io.FileNotFoundException: /data/hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.354.jar (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:135) at hudson.FilePath$30.invoke(FilePath.java:1358) at hudson.FilePath$30.invoke(FilePath.java:1354) at hudson.FilePath.act(FilePath.java:747) at hudson.FilePath.act(FilePath.java:729) at hudson.FilePath.copyTo(FilePath.java:1354) at hudson.FilePath.copyTo(FilePath.java:1329) ... 10 more The connection to slave is working fine for 1.352 version. Thanks, Srinivas

    Jenkins JIRA | 7 years ago | bandasree
    hudson.util.IOException2: Failed to copy /data/hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.354.jar to c:\hudson\maven-agent.jar
  6. 0

    I have just updated to version 2.1 and enabled this plugin for my maven based build job and I get the many stacktraces, which look like this: {code} [android-lint] Can't copy source file: source=res/layout/layout.xml, destination=b263fde3.tmp hudson.util.IOException2: Failed to copy res/layout/layout.xml to /var/lib/jenkins/jobs/ProjectJob/modules/<group-id>$<artifact-id>/builds/2013-04-12_08-38-52/workspace-files/b263fde3.tmp at hudson.FilePath.copyTo(FilePath.java:1725) at hudson.plugins.analysis.core.HealthAwareReporter.copyFilesWithAnnotationsToBuildFolder(HealthAwareReporter.java:463) at hudson.plugins.analysis.core.HealthAwareReporter.postExecute(HealthAwareReporter.java:340) at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:453) at hudson.maven.Maven3Builder$MavenExecutionListener.mojoSucceeded(Maven3Builder.java:435) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:87) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:228) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158) at hudson.maven.Maven3Builder.call(Maven3Builder.java:100) at hudson.maven.Maven3Builder.call(Maven3Builder.java:66) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.FileNotFoundException: res/layout/layout.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:120) at hudson.FilePath$33.invoke(FilePath.java:1751) at hudson.FilePath$33.invoke(FilePath.java:1746) at hudson.FilePath.act(FilePath.java:904) at hudson.FilePath.act(FilePath.java:877) at hudson.FilePath.copyTo(FilePath.java:1746) at hudson.FilePath.copyTo(FilePath.java:1720) ... 34 more {code} My Project folder structure is like this: / = parent-Module /module = android-module with lint-results

    Jenkins JIRA | 4 years ago | Philip Schiffer
    hudson.util.IOException2: Failed to copy res/layout/layout.xml to /var/lib/jenkins/jobs/ProjectJob/modules/<group-id>$<artifact-id>/builds/2013-04-12_08-38-52/workspace-files/b263fde3.tmp

  1. Handemelindo 3 times, last 2 weeks ago
  2. jstrayer 1 times, last 3 weeks ago
  3. Vikram 2 times, last 4 weeks ago
  4. arturgajowy 1 times, last 4 weeks ago
  5. batwalrus76 2 times, last 4 weeks ago
60 more registered users
35 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/hudson/workspace/jbosstools-3.3_stable_branch.jsf.bot.tests.codecoverage/jsf/tests/target/jacoco.exec (Input/output error)

    at java.io.FileInputStream.open()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:106)
    2 frames
  3. Hudson
    FilePath.copyTo
    1. hudson.FilePath$31.invoke(FilePath.java:1467)
    2. hudson.FilePath$31.invoke(FilePath.java:1462)
    3. hudson.FilePath.act(FilePath.java:786)
    4. hudson.FilePath.act(FilePath.java:766)
    5. hudson.FilePath.copyTo(FilePath.java:1462)
    6. hudson.FilePath.copyTo(FilePath.java:1436)
    6 frames
  4. hudson.plugins.jacoco
    JacocoPublisher.perform
    1. hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:143)
    1 frame
  5. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
    2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697)
    3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672)
    4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650)
    5. hudson.model.Build$RunnerImpl.post2(Build.java:162)
    6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:619)
    7. hudson.model.Run.run(Run.java:1429)
    8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    9. hudson.model.ResourceController.execute(ResourceController.java:88)
    10. hudson.model.Executor.run(Executor.java:238)
    10 frames