hudson.util.IOException2: Failed to copy C:\cygwin64\home\jenkins\workspace\epics-base-3.15-cyg64\src\ioc\db\test\O.cygwin-x86_64\arrShorthandTest.tap to C:/cygwin64/home/jenkins/workspace/epics-base-3.15-cyg64/src/ioc/db/test/O.cygwin-x86_64/arrShorthandTest.tap

Jenkins JIRA | Andrew Johnson | 3 years ago
  1. 0

    I have a build job that runs on a remote slave and has the TAP plugin enabled. After a successful build, the plugin runs and while looking for the result files it gives the error below. The paths given below are both in the slave's workspace; if this is attempting to copy the result file to the master the destination path is very wrong, that should be somewhere under /var/lib/jenkins/jobs/ {noformat} TAP Reports Processing: START Looking for TAP results report in workspace using pattern: src/**/O.cygwin-x86_64/*.tap Saving reports... hudson.util.IOException2: Failed to copy C:\cygwin64\home\jenkins\workspace\epics-base-3.15-cyg64\src\ioc\db\test\O.cygwin-x86_64\arrShorthandTest.tap to C:/cygwin64/home/jenkins/workspace/epics-base-3.15-cyg64/src/ioc/db/test/O.cygwin-x86_64/arrShorthandTest.tap at hudson.FilePath.copyTo(FilePath.java:1725) at org.tap4j.plugin.TapPublisher.saveReports(TapPublisher.java:333) at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:250) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) 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:1600) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:241) Caused by: java.io.FileNotFoundException: /C:/cygwin64/home/jenkins/workspace/epics-base-3.15-cyg64/src/ioc/db/test/O.cygwin-x86_64/arrShorthandTest.tap (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:209) at java.io.FileOutputStream.<init>(FileOutputStream.java:160) at hudson.FilePath.write(FilePath.java:1621) at hudson.FilePath.copyTo(FilePath.java:1718) ... 11 more Failed to save TAP reports {noformat}

    Jenkins JIRA | 3 years ago | Andrew Johnson
    hudson.util.IOException2: Failed to copy C:\cygwin64\home\jenkins\workspace\epics-base-3.15-cyg64\src\ioc\db\test\O.cygwin-x86_64\arrShorthandTest.tap to C:/cygwin64/home/jenkins/workspace/epics-base-3.15-cyg64/src/ioc/db/test/O.cygwin-x86_64/arrShorthandTest.tap
  2. 0

    I have a build job that runs on a remote slave and has the TAP plugin enabled. After a successful build, the plugin runs and while looking for the result files it gives the error below. The paths given below are both in the slave's workspace; if this is attempting to copy the result file to the master the destination path is very wrong, that should be somewhere under /var/lib/jenkins/jobs/ {noformat} TAP Reports Processing: START Looking for TAP results report in workspace using pattern: src/**/O.cygwin-x86_64/*.tap Saving reports... hudson.util.IOException2: Failed to copy C:\cygwin64\home\jenkins\workspace\epics-base-3.15-cyg64\src\ioc\db\test\O.cygwin-x86_64\arrShorthandTest.tap to C:/cygwin64/home/jenkins/workspace/epics-base-3.15-cyg64/src/ioc/db/test/O.cygwin-x86_64/arrShorthandTest.tap at hudson.FilePath.copyTo(FilePath.java:1725) at org.tap4j.plugin.TapPublisher.saveReports(TapPublisher.java:333) at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:250) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) 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:1600) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:241) Caused by: java.io.FileNotFoundException: /C:/cygwin64/home/jenkins/workspace/epics-base-3.15-cyg64/src/ioc/db/test/O.cygwin-x86_64/arrShorthandTest.tap (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:209) at java.io.FileOutputStream.<init>(FileOutputStream.java:160) at hudson.FilePath.write(FilePath.java:1621) at hudson.FilePath.copyTo(FilePath.java:1718) ... 11 more Failed to save TAP reports {noformat}

    Jenkins JIRA | 3 years ago | Andrew Johnson
    hudson.util.IOException2: Failed to copy C:\cygwin64\home\jenkins\workspace\epics-base-3.15-cyg64\src\ioc\db\test\O.cygwin-x86_64\arrShorthandTest.tap to C:/cygwin64/home/jenkins/workspace/epics-base-3.15-cyg64/src/ioc/db/test/O.cygwin-x86_64/arrShorthandTest.tap
  3. 0

    Acceptance tests fail on ecryptfs mount

    GitHub | 5 years ago | gbacon
    java.lang.RuntimeException: java.io.FileNotFoundException: FitNesseRoot/files/testProgress/FitNesse.SuiteAcceptanceTests.SuiteSlimTests.ScenarioLibraryTestSuite.ScenarioLibariesOrderTests.ScenarioLibraryOrderSuite.ScenarioLibraryOrderTestParent.ScenarioLibraryOrderIsCorrect (File name too long)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Permission Denied when exporting

    GitHub | 4 years ago | Mic92
    java.io.FileNotFoundException: entities.tar.gz (Permission denied)
  6. 0

    CloudBees Back-up Plugin failing

    Stack Overflow | 3 years ago | garnerh42
    java.io.FileNotFoundException: /mnt/jenkinsbackup/backup-Jenkins Backup-19.tar.gz (Permission denied)

  1. tvrmsmith 1 times, last 1 week ago
  2. eti22 3 times, last 3 weeks ago
  3. tyson925 49 times, last 2 weeks ago
  4. MoYapro 1 times, last 1 month ago
  5. musketyr 3 times, last 1 month ago
24 more registered users
71 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

    /C:/cygwin64/home/jenkins/workspace/epics-base-3.15-cyg64/src/ioc/db/test/O.cygwin-x86_64/arrShorthandTest.tap (No such file or directory)

    at java.io.FileOutputStream.open()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:209)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:160)
    3 frames
  3. Hudson
    FilePath.copyTo
    1. hudson.FilePath.write(FilePath.java:1621)
    2. hudson.FilePath.copyTo(FilePath.java:1718)
    2 frames
  4. org.tap4j.plugin
    TapPublisher.perform
    1. org.tap4j.plugin.TapPublisher.saveReports(TapPublisher.java:333)
    2. org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:250)
    2 frames
  5. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
    4. hudson.model.Build$BuildExecution.post2(Build.java:183)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
    6. hudson.model.Run.execute(Run.java:1600)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    8. hudson.model.ResourceController.execute(ResourceController.java:88)
    9. hudson.model.Executor.run(Executor.java:241)
    9 frames