Change By: Jesse Glick (04/Feb/13 7:41 PM)
Description: Found a build that had been “running” for days, on a cloudy slave long since taken offline. Master thread dump said

{code:none}
"Executor #0 for … : executing …" Id=56457 Group=main TIMED_WAITING on [B@5a2312b
at java.lang.Object.wait(Native Method)
-  waiting on [B@5a2312b
at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:173)
at hudson.util.HeadBufferingStream.read(HeadBufferingStream.java:61)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at hudson.util.HeadBufferingStream.fillSide(HeadBufferingStream.java:83)
at hudson.FilePath$TarCompression$2.extract(FilePath.java:619)
at hudson.FilePath.copyRecursiveTo(FilePath.java:1775)
at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:116)

{code}

Could not be killed: pressing the button to terminate the build had no apparent effect.

Potentially an earlier attempt to interrupt had made {{FastPipedInputStream.read}} rethrow an {{InterruptedException}} as an {{IOException}}. This would have caused {{TarCompression.GZIP.extract}} to go into a diagnostic {{catch}} clause and run {{fillSide}}, which could again hang. But interrupting _that_ should have produced a new {{IOException}} thrown up the chain (I cannot find any code above this that catches {{IOException}} and loops). So why could it not be killed?


Fixed only by restarting Jenkins. At that point the build record is missing since {{build.xml}} is only created if the executor thread terminates normally (even in an {{ABORTED}} build).
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to