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

Apparently aborted build w/ incomplete artifacts marked as "stable"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • core
    • None
    • 1.378, Linux, JDK 6

      http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/5865/console ends with

      ...normal stuff...
      Terminating xvnc.
      $ vncserver -kill :15
      Killing Xvnc process ID 7294
      Publishing Javadoc
      Setting ANT_1_8_0_HOME=/hudson/workdir/tools/Ant_1.8.0
      Setting ANT_1_8_0_HOME=/space/tools/Ant_1.8.0
      Setting ANT_1_8_0_HOME=/hudson/workdir/tools/Ant_1.8.0
      Setting ANT_1_8_0_HOME=/hudson/workdir/tools/Ant_1.8.0
      Setting ANT_1_8_0_HOME=/hudson/workdir/tools/Ant_1.8.0
      Setting ANT_1_8_0_HOME=/hudson/workdir/tools/Ant_1.8.0
      Setting ANT_1_8_0_HOME=/hudson/workdir/tools/Ant_1.8.0
      Setting ANT_1_8_0_HOME=/hudson/workdir/tools/Ant_1.8.0
      Archiving artifacts
      Setting ANT_1_8_0_HOME=/hudson/workdir/tools/Ant_1.8.0
      Setting ANT_1_8_0_HOME=/space/tools/Ant_1.8.0
      Setting ANT_1_8_0_HOME=/hudson/workdir/tools/Ant_1.8.0
      Setting ANT_1_8_0_HOME=/hudson/workdir/tools/Ant_1.8.0
      Setting ANT_1_8_0_HOME=/hudson/workdir/tools/Ant_1.8.0
      ...repeated many more times...
      Setting ANT_1_8_0_HOME=/hudson/workdir/tools/Ant_1.8.0
      ERROR: Failed to archive artifacts: nbbuild/dist/,nbbuild/nbms/,nbbuild/build/generated/,nbbuild/build/generated.diff,nbbuild/build/sigtest/,nbbuild/build/verifylibsandlicenses.xml,nbbuild/build/testdist.zip,nbbuild/netbeans/harness/tasks.jar
      hudson.util.IOException2: hudson.util.IOException2: Failed to extract /space/workspace/nbms-and-javadoc/nbbuild/dist/,nbbuild/nbms/,nbbuild/build/generated/,nbbuild/build/generated.diff,nbbuild/build/sigtest/,nbbuild/build/verifylibsandlicenses.xml,nbbuild/build/testdist.zip,nbbuild/netbeans/harness/tasks.jar
      	at hudson.FilePath.readFromTar(FilePath.java:1577)
      	at hudson.FilePath.copyRecursiveTo(FilePath.java:1491)
      	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:157)
      	at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      	at hudson.model.Run.run(Run.java:1303)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:137)
      Caused by: java.io.IOException
      	at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:173)
      	at hudson.util.HeadBufferingStream.read(HeadBufferingStream.java:61)
      	at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:221)
      	at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
      	at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:92)
      	at org.apache.tools.tar.TarBuffer.readBlock(TarBuffer.java:257)
      	at org.apache.tools.tar.TarBuffer.readRecord(TarBuffer.java:223)
      	at hudson.org.apache.tools.tar.TarInputStream.read(TarInputStream.java:345)
      	at java.io.FilterInputStream.read(FilterInputStream.java:90)
      	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025)
      	at org.apache.commons.io.IOUtils.copy(IOUtils.java:999)
      	at hudson.util.IOUtils.copy(IOUtils.java:33)
      	at hudson.FilePath.readFromTar(FilePath.java:1565)
      	... 12 more
      
      	at hudson.FilePath.copyRecursiveTo(FilePath.java:1498)
      	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:157)
      	at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      	at hudson.model.Run.run(Run.java:1303)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:137)
      Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
      	at hudson.remoting.Request$1.get(Request.java:236)
      	at hudson.remoting.Request$1.get(Request.java:172)
      	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59)
      	at hudson.FilePath.copyRecursiveTo(FilePath.java:1494)
      	... 11 more
      Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
      	at hudson.remoting.Request.abort(Request.java:257)
      	at hudson.remoting.Channel.terminate(Channel.java:658)
      	at hudson.remoting.Channel$ReaderThread.run(Channel.java:950)
      Caused by: java.io.IOException: Unexpected termination of the channel
      	at hudson.remoting.Channel$ReaderThread.run(Channel.java:931)
      Caused by: java.io.EOFException
      	at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      	at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
      	at hudson.remoting.Channel$ReaderThread.run(Channel.java:925)
      Recording test results
      Setting ANT_1_8_0_HOME=/space/tools/Ant_1.8.0
      No emails were triggered.
      Finished: SUCCESS
      

      And http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/5865/artifact/ in fact contains some, but not all, of the artifacts expected from a successful build of this job. This is causing problems for subsequent runs which expect http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/ to have predictable contents.

      I'm not sure exactly what happened to this build - it seems to have run for too long, probably due to some kind of I/O problems with the slave, and been aborted by someone - but it should not have been marked "stable".

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: