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

Build fails to archive the artifacts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • None
    • Windows server 2008 64bit
      Windows XP Professional SP3

      Since last 2-3 versions (now 1.367) artifacts archiving fails with the following error:
      BUILD SUCCESSFUL
      Total time: 4 seconds
      Archiving artifacts
      ERROR: Failed to archive artifacts: publish/*/
      hudson.util.IOException2: Failed to copy c:\opencm\hudson\jobs\Jade_M1-daily\workspace/publish/*/ to c:\opencm\hudson\jobs\Jade_M1-daily\builds\2010-07-19_13-27-32\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 c:\opencm\hudson\jobs\Jade_M1-daily\workspace\publish\dailydictionary_50.47_19072010.mdb to c:\opencm\hudson\jobs\Jade_M1-daily\builds\2010-07-19_13-27-32\archive\publish\dailydictionary_50.47_19072010.mdb due to Map failed
      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: Map failed
      at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:761)
      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
      Caused by: java.lang.OutOfMemoryError: Map failed
      at sun.nio.ch.FileChannelImpl.map0(Native Method)
      at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:758)
      ... 25 more
      Finished: SUCCESS

      Page generated: Jul 19, 2010 2:23:10 PMHudson ver. 1.367

      while some of the files are copied.

            abayer Andrew Bayer
            liyatikal liyatikal
            Votes:
            9 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: