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

success even when archive artifact java error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • remoting
    • None
    • Platform: All, OS: Solaris

      Been having some troubles w/archive artifacts hanging from a linux master (java
      1.6) to solaris slave (java 1.5). Here's an instance where it actually got an
      error, but reported success.

      The hanging issue seems to be intermittent. It completed a job not long ago.

      ERROR: Failed to archive artifacts: repoName, prevent-dev/version, build.log,
      lastPush, prevent-dev/objs/*/.tar.gz, prevent-dev/objs/*/.map.gz,
      prevent-dev/objs/*/cov-generate-hostid-
      hudson.util.IOException2: Failed to read the remote stream
      /hudson_home/workspace/prevent-dev.solaris-x86/repoName, prevent-dev/version,
      build.log, lastPush, prevent-dev/objs/*/.tar.gz, prevent-dev/objs/*/.map.gz,
      prevent-dev/objs/*/cov-generate-hostid-
      at hudson.FilePath.readFromTar(FilePath.java:922)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:846)
      at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:78)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:309)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:297)
      at hudson.model.Build$RunnerImpl.post2(Build.java:118)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:282)
      at hudson.model.Run.run(Run.java:796)
      at hudson.model.Build.run(Build.java:85)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:88)
      Caused by: Error while expanding
      /hudson_home/workspace/prevent-dev.solaris-x86/repoName, prevent-dev/version,
      build.log, lastPush, prevent-dev/objs/*/.tar.gz, prevent-dev/objs/*/.map.gz,
      prevent-dev/objs/*/cov-generate-hostid-
      at org.apache.tools.ant.taskdefs.Untar.expandResource(Untar.java:121)
      at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:119)
      at hudson.FilePath.readFromTar(FilePath.java:920)
      ... 10 more
      Caused by: java.io.InterruptedIOException
      at java.io.PipedInputStream.read(PipedInputStream.java:262)
      at java.io.PipedInputStream.read(PipedInputStream.java:305)
      at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:214)
      at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
      at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:254)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
      at org.apache.tools.tar.TarBuffer.readBlock(TarBuffer.java:257)
      at org.apache.tools.tar.TarBuffer.readRecord(TarBuffer.java:223)
      at org.apache.tools.tar.TarInputStream.read(TarInputStream.java:340)
      at java.io.FilterInputStream.read(FilterInputStream.java:90)
      at org.apache.tools.ant.taskdefs.Expand.extractFile(Expand.java:282)
      at org.apache.tools.ant.taskdefs.Untar.expandStream(Untar.java:142)
      at org.apache.tools.ant.taskdefs.Untar.expandResource(Untar.java:119)
      ... 12 more
      Description found: dev-push-6749
      Email was triggered for: Success
      There are 1 triggered emails.
      Sending email for trigger: Success
      Sending e-mails to: overloaded_workers@anyjob.anywhere
      finished: SUCCESS

            Unassigned Unassigned
            bll6969 bll
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: