Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-7038

Archiving of large file fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Hudson 1.367 on Tomcat

      Before the update from (approx.) 1.357 to 1.367 the copying of a large artifact file (~2.1 GByte) worked fine. The changelog says that in release 1.363 the bundled Ant version, which is used internally by Hudson to copy files, was updated to 1.8.1 (JENKINS-6562). I assume that this might cause the problems. I have downgraded Hudson to 1.362 and the archiving was successful again.

      The following stack trace supports this assumption:

      ERROR: Artefakte konnten nicht archiviert werden: >>stripped name of artifact file<<
      hudson.util.IOException2: Failed to copy e:\hudson_home\jobs\>>stripped some path<<\workspace/>>stripped name of artifact<< to e:\hudson_home\jobs\>>stripped some path<<\builds\2010-07-21_09-54-24\archive
      at hudson.FilePath$31.invoke(FilePath.java:1451)
      at hudson.FilePath$31.invoke(FilePath.java:1418)
      at hudson.FilePath.act(FilePath.java:753)
      at hudson.FilePath.act(FilePath.java:735)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:1418)
      at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:117)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
      at hudson.model.Build$RunnerImpl.post2(Build.java:158)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      at hudson.model.Run.run(Run.java:1280)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:129)
      Caused by: Failed to copy e:\hudson_home\jobs\>>stripped some path<<\workspace\>>stripped name of artifact file<< to e:\hudson_home\jobs\>>stripped some path<<\builds\2010-07-21_09-54-24\archive\>>stripped name of artifact file<< due to Falscher Parameter
      at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:853)
      at hudson.FilePath$31$1CopyImpl.doFileOperations(FilePath.java:1434)
      at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:523)
      at hudson.FilePath$31.invoke(FilePath.java:1448)
      ... 15 more
      Caused by: java.io.IOException: Falscher Parameter
      at sun.nio.ch.FileChannelImpl.map0(Native Method)
      at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:747)
      at sun.nio.ch.FileChannelImpl.transferToTrustedChannel(FileChannelImpl.java:450)
      at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:523)
      at org.apache.tools.ant.util.ResourceUtils.copyResource(ResourceUtils.java:475)
      at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:519)
      at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:481)
      at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:310)
      at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:841)
      ... 18 more

      The German parts in the description say: "artifacts could not be archived" and "Failed to copy [...] due to wrong parameter"

            Unassigned Unassigned
            ma_ids ma_ids
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: