hudson.util.IOException2: Failed to extract c:\Users\Vbridges\Development\workspace\VERDE_build/win4/trunk/src/win32/FinishWin7Install/*.exe

Jenkins JIRA | Jeff Rodgers | 4 years ago
  1. 0

    The workspace does not seem to render properly for the master when using the copy-to-master option. It appears in Windows path format on the Linux side. An exception occured while creating VERDE_build: java.io.IOException: Failed to mkdirs: workspace\VERDE_build [copy-to-slave] Copying 'win4/trunk/src/win32/FinishWin7Install/*.exe', excluding nothing, from 'file:/c:/Users/Vbridges/Development/workspace/VERDE_build/' on 'hudson.plugins.virtualbox.VirtualBoxSlave@eba543f' to 'file:/workspace%5CVERDE_build' on the master. ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception hudson.util.IOException2: Failed to extract c:\Users\Vbridges\Development\workspace\VERDE_build/win4/trunk/src/win32/FinishWin7Install/*.exe at hudson.FilePath.readFromTar(FilePath.java:1936) at hudson.FilePath.copyRecursiveTo(FilePath.java:1848) at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:93) 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:779) at hudson.model.Build$BuildExecution.cleanUp(Build.java:192) at hudson.model.Run.execute(Run.java:1562) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.FileNotFoundException: workspace\VERDE_build/win4/trunk/src/win32/FinishWin7Install/FinishWin7Install.exe (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.util.IOUtils.copy(IOUtils.java:35) at hudson.FilePath.readFromTar(FilePath.java:1926) ... 10 more The workaround is to hard-code the Linux workspace path using the Override Destination Folder option.

    Jenkins JIRA | 4 years ago | Jeff Rodgers
    hudson.util.IOException2: Failed to extract c:\Users\Vbridges\Development\workspace\VERDE_build/win4/trunk/src/win32/FinishWin7Install/*.exe
  2. 0

    The workspace does not seem to render properly for the master when using the copy-to-master option. It appears in Windows path format on the Linux side. An exception occured while creating VERDE_build: java.io.IOException: Failed to mkdirs: workspace\VERDE_build [copy-to-slave] Copying 'win4/trunk/src/win32/FinishWin7Install/*.exe', excluding nothing, from 'file:/c:/Users/Vbridges/Development/workspace/VERDE_build/' on 'hudson.plugins.virtualbox.VirtualBoxSlave@eba543f' to 'file:/workspace%5CVERDE_build' on the master. ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception hudson.util.IOException2: Failed to extract c:\Users\Vbridges\Development\workspace\VERDE_build/win4/trunk/src/win32/FinishWin7Install/*.exe at hudson.FilePath.readFromTar(FilePath.java:1936) at hudson.FilePath.copyRecursiveTo(FilePath.java:1848) at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:93) 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:779) at hudson.model.Build$BuildExecution.cleanUp(Build.java:192) at hudson.model.Run.execute(Run.java:1562) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.FileNotFoundException: workspace\VERDE_build/win4/trunk/src/win32/FinishWin7Install/FinishWin7Install.exe (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.util.IOUtils.copy(IOUtils.java:35) at hudson.FilePath.readFromTar(FilePath.java:1926) ... 10 more The workaround is to hard-code the Linux workspace path using the Override Destination Folder option.

    Jenkins JIRA | 4 years ago | Jeff Rodgers
    hudson.util.IOException2: Failed to extract c:\Users\Vbridges\Development\workspace\VERDE_build/win4/trunk/src/win32/FinishWin7Install/*.exe
  3. 0

    Use-case: 1) Job sequentially triggers builds using the same files as a build parameters. These files have read-only permission. In order to pass parameters to file factory, we use *.txt wildcard 2) Sometimes second triggering fails with "Permission denied" error (see the log below) 3) As i see, files in "builds/${ID}/parameter-files" have read-only attributes from the initial file {quote} FATAL: Failed to compute binary file parameters from *.txt hudson.util.IOException2: Failed to compute binary file parameters from *.txt at hudson.plugins.parameterizedtrigger.BinaryFileParameterFactory.getParameters(BinaryFileParameterFactory.java:93) at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.getDynamicBuildParameters(BuildTriggerConfig.java:404) at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.perform2(BuildTriggerConfig.java:374) at hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig.perform2(BlockableBuildTriggerConfig.java:57) at hudson.plugins.parameterizedtrigger.TriggerBuilder.perform(TriggerBuilder.java:85) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:780) 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:565) at hudson.model.Run.execute(Run.java:1592) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: hudson.util.IOException2: Failed to extract MY_WORKSPACE/*.txt at hudson.FilePath.readFromTar(FilePath.java:2022) at hudson.FilePath.copyRecursiveTo(FilePath.java:1934) at hudson.FilePath.copyRecursiveTo(FilePath.java:1839) at hudson.plugins.parameterizedtrigger.BinaryFileParameterFactory.getParameters(BinaryFileParameterFactory.java:64) ... 13 more Caused by: java.io.FileNotFoundException: HOME_DIR/builds/2013-10-25_12-19-54/parameter-files/file.txt (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:221) at java.io.FileOutputStream.<init>(FileOutputStream.java:171) at hudson.util.IOUtils.copy(IOUtils.java:35) at hudson.FilePath.readFromTar(FilePath.java:2012) ... 16 more {quote}

    Jenkins JIRA | 3 years ago | Oleg Nenashev
    hudson.util.IOException2: Failed to compute binary file parameters from *.txt
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Use-case: 1) Job sequentially triggers builds using the same files as a build parameters. These files have read-only permission. In order to pass parameters to file factory, we use *.txt wildcard 2) Sometimes second triggering fails with "Permission denied" error (see the log below) 3) As i see, files in "builds/${ID}/parameter-files" have read-only attributes from the initial file {quote} FATAL: Failed to compute binary file parameters from *.txt hudson.util.IOException2: Failed to compute binary file parameters from *.txt at hudson.plugins.parameterizedtrigger.BinaryFileParameterFactory.getParameters(BinaryFileParameterFactory.java:93) at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.getDynamicBuildParameters(BuildTriggerConfig.java:404) at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.perform2(BuildTriggerConfig.java:374) at hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig.perform2(BlockableBuildTriggerConfig.java:57) at hudson.plugins.parameterizedtrigger.TriggerBuilder.perform(TriggerBuilder.java:85) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:780) 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:565) at hudson.model.Run.execute(Run.java:1592) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: hudson.util.IOException2: Failed to extract MY_WORKSPACE/*.txt at hudson.FilePath.readFromTar(FilePath.java:2022) at hudson.FilePath.copyRecursiveTo(FilePath.java:1934) at hudson.FilePath.copyRecursiveTo(FilePath.java:1839) at hudson.plugins.parameterizedtrigger.BinaryFileParameterFactory.getParameters(BinaryFileParameterFactory.java:64) ... 13 more Caused by: java.io.FileNotFoundException: HOME_DIR/builds/2013-10-25_12-19-54/parameter-files/file.txt (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:221) at java.io.FileOutputStream.<init>(FileOutputStream.java:171) at hudson.util.IOUtils.copy(IOUtils.java:35) at hudson.FilePath.readFromTar(FilePath.java:2012) ... 16 more {quote}

    Jenkins JIRA | 3 years ago | Oleg Nenashev
    hudson.util.IOException2: Failed to compute binary file parameters from *.txt
  6. 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)

  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

    workspace\VERDE_build/win4/trunk/src/win32/FinishWin7Install/FinishWin7Install.exe (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.copyRecursiveTo
    1. hudson.util.IOUtils.copy(IOUtils.java:35)
    2. hudson.FilePath.readFromTar(FilePath.java:1926)
    3. hudson.FilePath.copyRecursiveTo(FilePath.java:1848)
    3 frames
  4. com.michelin.cio
    CopyToMasterNotifier.perform
    1. com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:93)
    1 frame
  5. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779)
    4. hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
    5. hudson.model.Run.execute(Run.java:1562)
    6. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    7. hudson.model.ResourceController.execute(ResourceController.java:88)
    8. hudson.model.Executor.run(Executor.java:236)
    8 frames