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

Repeated failure to archive build artifacts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • core
    • None
    • Master. Debian Linux 7, openjdk-7-jre, 7u79-2.5.5-1~deb7u1, amd64
      Build Slave: Windows 2012R2, Oracle Java 8 update 45, x64

      We recently replaced our Windows based Jenkins master with a Linux (Debian 7) based master and since this time we are seeing repeated failures to archive the artefacts from the build jobs that runs on a Windows build slave. I can't see any existing issues which directly match this although there are some which look superficially similar.

      I have the following from the build log but if there is more information I can gather about this issue please let me know (with instructions) as this is becoming a severe blocker to our build processes.

      Archiving artifacts
      ERROR: Failed to archive artifacts: <artifact names>
      java.io.IOException: Failed to extract c:\jenkins\workspace\Integration/transfer of 18960 files
      at hudson.FilePath.readFromTar(FilePath.java:2299)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2210)
      at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)
      at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:219)
      at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:75)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
      at hudson.model.Build$BuildExecution.post2(Build.java:185)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
      at hudson.model.Run.execute(Run.java:1769)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:374)
      Caused by: java.io.IOException: unexpected EOF with 1024 bytes unread
      at hudson.org.apache.tools.tar.TarInputStream.read(TarInputStream.java:349)
      at java.io.FilterInputStream.read(FilterInputStream.java:107)
      at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1792)
      at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1769)
      at org.apache.commons.io.IOUtils.copy(IOUtils.java:1744)
      at hudson.util.IOUtils.copy(IOUtils.java:40)
      at hudson.FilePath.readFromTar(FilePath.java:2289)
      ... 13 more
      Build step 'Archive the artifacts' changed build result to FAILURE

            Unassigned Unassigned
            marksyms Mark Syms
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: