Does the download fail if you run ANT outside of Jenkins ??? If so, I start my 
debug outside of Jenkins. 

----- Original Message -----

From: "Chris Suich" <csu...@bluestripe.com> 
To: jenkinsci-users@googlegroups.com 
Sent: Tuesday, December 16, 2014 11:25:46 AM 
Subject: IOException: Premature EOF when downloading archive.zip with Ant 

Hi All, 

We are seeing an intermittent issue when downloading the all artifacts archive 
(archive.zip) from a job. We have some automation and smoke tests which is 
using Ant's 'get' task to download the file. The download will fail with this 
stacktrace from Ant: 

Caused by: java.io.IOException: Premature EOF 
at 
sun.net.www.http.ChunkedInputStream.readAheadBlocking(ChunkedInputStream.java:565)
 
at sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:609) 
at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:696) 
at java.io.FilterInputStream.read(FilterInputStream.java:133) 
at 
sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3053)
 
at 
sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3047)
 
at org.apache.tools.ant.taskdefs.Get.doGet(Get.java:209) 
at org.apache.tools.ant.taskdefs.Get.execute(Get.java:78) 

We are seeing this issue on multiple clients and are yet to determine if the 
issue is server, infrastructure or client side. 

We tried creating a custom log with the following Loggers: 
hudson.model.FullDuplexHttpChannel 
hudson.util.ChunkedOutputStream 
hudson.model.DirectoryBrowserSupport 
hudson.model.DownloadService$Downloadable 
org.eclipse.jetty 

but haven't found anything interested except that DirectoryBrowserSupport will 
log when it is serving an individual file, but not an archive.zip. 

A couple other notes from out investigation: 
- We have only seen this issue on Linux (that isn't to say it couldn't happen, 
just that we only see it on Linux) 
- We have seen the issue occur at the same time (within 1/5 or 1/2 a second) of 
each other on multiple smoke machines trying to download at the same time (and 
it does happen to individual machines as well) 

Does anyone have any recommendations of Loggers we could use or other ways to 
rule Jenkins out as a suspect? 

Thanks, 
Chris 


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group. 
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com . 
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAJADJY5Gt2HRHYQkDETfCjZTMtb3FjGs%2BtZSX3z%2B5zK6%3D%3DdM6g%40mail.gmail.com
 . 
For more options, visit https://groups.google.com/d/optout . 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1616746118.5147730.1418747322023.JavaMail.zimbra%40comcast.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to