[JIRA] (JENKINS-39909) Incomplete downloads of artifacts
Title: Message Title Josh Soref updated an issue Jenkins / JENKINS-39909 Incomplete downloads of artifacts Change By: Josh Soref Comment: . Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39909) Incomplete downloads of artifacts
Title: Message Title Josh Soref commented on JENKINS-39909 Re: Incomplete downloads of artifacts . Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39909) Incomplete downloads of artifacts
Title: Message Title nurupo nurupo edited a comment on JENKINS-39909 Re: Incomplete downloads of artifacts Ok, looks like ` --httpKeepAliveTimeout=6 ` should go into ` JENKINS_ARGS ` variable in ` /etc/default/jenkins ` on Debian-based systems, as this is where ` --httpPort ` is set. Thanks. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39909) Incomplete downloads of artifacts
Title: Message Title nurupo nurupo commented on JENKINS-39909 Re: Incomplete downloads of artifacts Ok, looks like `-httpKeepAliveTimeout=6` should go into `JENKINS_ARGS` variable in `/etc/default/jenkins` on Debian-based systems, as this is where `-httpPort` is set. Thanks. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39909) Incomplete downloads of artifacts
Title: Message Title chris_mh3 edited a comment on JENKINS-39909 Re: Incomplete downloads of artifacts It's actually hudson.xml in my installation. I presumed that it has been renamed to jenkins.xml in the meanwhile. It's in the root of the jenkins installation. The file contains the configuration for the service wrapper.And yes it persists.{ { code:xml} Jenkins_NG Jenkins Trunk This service runs Jenkins continuous integration system. C:\Program Files\Java\jre1.8.0_66\bin\java -Xrs -Xmx4076m -XX:MaxPermSize=512m -Dhudson.model.ParametersAction.keepUndefinedParameters=true -Djava.io.tmpdir=E:\temps\j_trunk -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\hudson.war" --httpPort=7070 --httpKeepAliveTimeout=6rotate {code } } Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39909) Incomplete downloads of artifacts
Title: Message Title chris_mh3 edited a comment on JENKINS-39909 Re: Incomplete downloads of artifacts It's actually hudson.xml in my installation. I presumed that it has been renamed to jenkins.xml in the meantime meanwhile . It's in the root of the jenkins installation. The file contains the configuration for the service wrapper.And yes it persists.{{ Jenkins_NG Jenkins Trunk This service runs Jenkins continuous integration system. C:\Program Files\Java\jre1.8.0_66\bin\java -Xrs -Xmx4076m -XX:MaxPermSize=512m -Dhudson.model.ParametersAction.keepUndefinedParameters=true -Djava.io.tmpdir=E:\temps\j_trunk -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\hudson.war" --httpPort=7070 --httpKeepAliveTimeout=6rotate}} Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39909) Incomplete downloads of artifacts
Title: Message Title chris_mh3 commented on JENKINS-39909 Re: Incomplete downloads of artifacts It's actually hudson.xml in my installation. I presumed that it has been renamed to jenkins.xml in the meantime. It's in the root of the jenkins installation. The file contains the configuration for the service wrapper. And yes it persists. Jenkins_NG Jenkins Trunk This service runs Jenkins continuous integration system. C:\Program Files\Java\jre1.8.0_66\bin\java Xrs -Xmx4076m -XX:MaxPermSize=512m -Dhudson.model.ParametersAction.keepUndefinedParameters=true -Djava.io.tmpdir=E:\temps\j_trunk -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\hudson.war" --httpPort=7070 -httpKeepAliveTimeout=6 rotate Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39909) Incomplete downloads of artifacts
Title: Message Title chris_mh3 edited a comment on JENKINS-39909 Re: Incomplete downloads of artifacts It's actually hudson.xml in my installation. I presumed that it has been renamed to jenkins.xml in the meantime. It's in the root of the jenkins installation. The file contains the configuration for the service wrapper.And yes it persists. {{ Jenkins_NG Jenkins Trunk This service runs Jenkins continuous integration system. C:\Program Files\Java\jre1.8.0_66\bin\java -Xrs -Xmx4076m -XX:MaxPermSize=512m -Dhudson.model.ParametersAction.keepUndefinedParameters=true -Djava.io.tmpdir=E:\temps\j_trunk -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\hudson.war" --httpPort=7070 * --httpKeepAliveTimeout=6 * rotate }} Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39909) Incomplete downloads of artifacts
Title: Message Title nurupo nurupo commented on JENKINS-39909 Re: Incomplete downloads of artifacts I'm having the same issue. About the workaround, where do I find jenkins.xml to set --httpKeepAliveTimeout=6? It seems I don't have it on my file system. Also, would this change persist when updating Jenkins? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39909) Incomplete downloads of artifacts
Title: Message Title chris_mh3 commented on JENKINS-39909 Re: Incomplete downloads of artifacts There are two thing here I would consider a bug: 1. The compression-filter hiding away the actual exception 2. The default timeout setting of winstone which is way below the jetty default The network connection isn't actually bad (probably). It is Maven-Tycho doing things in parallel and taking a break on that particular download for more than 5s. After knowing the cause of the problem it seems like we had that for quite a while in an ant script that did parallel downloads too. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39909) Incomplete downloads of artifacts
Title: Message Title Daniel Beck commented on JENKINS-39909 Re: Incomplete downloads of artifacts Not a bug then, but an aggressive timeout config paired with a terrible connection? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39909) Incomplete downloads of artifacts
Title: Message Title chris_mh3 edited a comment on JENKINS-39909 Re: Incomplete downloads of artifacts A workaround for me seems to be adding --httpKeepAliveTimeout=6 as a argument in jenkins.xml (see https://github.com/jenkinsci/winstone)The default of jetty itself for the timeout seems to be 3 (not 5000 as in winstone) . http://stackoverflow.com/questions/25548341/jetty-idletimeout Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39909) Incomplete downloads of artifacts
Title: Message Title chris_mh3 commented on JENKINS-39909 Re: Incomplete downloads of artifacts A workaround for me seems to be adding --httpKeepAliveTimeout=6 as a argument in jenkins.xml (see https://github.com/jenkinsci/winstone) The default of jetty itself for the timeout seems to be 3. http://stackoverflow.com/questions/25548341/jetty-idletimeout Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39909) Incomplete downloads of artifacts
Title: Message Title chris_mh3 commented on JENKINS-39909 Re: Incomplete downloads of artifacts After disabling the compression-filter in WEB-INF\web.xml the Exception is: Nov 22, 2016 3:19:07 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: /job//lastSuccessfulBuild/artifact/.jar java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 5001/5000 ms at org.eclipse.jetty.util.SharedBlockingCallback$Blocker.block(SharedBlockingCallback.java:234) at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:141) at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:355) at org.kohsuke.stapler.Stapler.serveStaticResource(Stapler.java:585) at org.kohsuke.stapler.ResponseImpl.serveFile(ResponseImpl.java:216) at hudson.model.DirectoryBrowserSupport.serveFile(DirectoryBrowserSupport.java:322) at hudson.model.DirectoryBrowserSupport.generateResponse(DirectoryBrowserSupport.java:127) at org.kohsuke.stapler.HttpResponseRenderer$Default.handleHttpResponse(HttpResponseRenderer.java:124) at org.kohsuke.stapler.HttpResponseRenderer$Default.generateResponse(HttpResponseRenderer.java:69) at org.kohsuke.stapler.Function.renderResponse(Function.java:119) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:102) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:196) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:233) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingF
[JIRA] (JENKINS-39909) Incomplete downloads of artifacts
Title: Message Title chris_mh3 updated an issue Jenkins / JENKINS-39909 Incomplete downloads of artifacts Change By: chris_mh3 When downloading artifacts from jenkins (lastSuccessfulBuild/artifact) the download terminates with incomplete files quite frequently. This only seems to happen with files > 60MB for me.The corresponding exception in the error.log seems to be:Nov 17, 2016 10:28:16 AM hudson.ExpressionFactory2$JexlExpression evaluateWARNING: Caught exception evaluating: request.getSession() in /job//artifact/.jar. Reason: java.lang.IllegalStateException: Response is committedjava.lang.IllegalStateException: Response is committedat org.eclipse.jetty.server.Request.getSession(Request.java:1400)at org.eclipse.jetty.server.Request.getSession(Request.java:1378)at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:279)at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:606)at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74)at org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134)at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95)at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:95)at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)at hudson.init.impl.InstallUncaughtExceptionHandler$1.reportException(InstallUncaughtExceptionHandler.java:30)at org.kohsuke.stapler.compression.CompressionFilter.reportException(CompressionFilter.java:77)at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:52)at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodin
[JIRA] (JENKINS-39909) Incomplete downloads of artifacts
Title: Message Title chris_mh3 created an issue Jenkins / JENKINS-39909 Incomplete downloads of artifacts Issue Type: Bug Assignee: Unassigned Components: core Created: 2016/Nov/21 11:52 AM Environment: Jenkins 2.19.3 Windows Server 2008 R2 jdk1.8.0_66 (and jdk1.7.0_51) Priority: Major Reporter: chris_mh3 When downloading artifacts from jenkins (lastSuccessfulBuild/artifact) the download terminates with incomplete files quite frequently. This only seems to happen with files > 60MB for me. The corresponding exception in the error.log seems to be: Nov 17, 2016 10:28:16 AM hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: request.getSession() in /job//artifact/.jar. Reason: java.lang.IllegalStateException: Response is committed java.lang.IllegalStateException: Response is committed at org.eclipse.jetty.server.Request.getSession(Request.java:1400) at org.eclipse.jetty.server.Request.getSession(Request.java:1378) at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:279) at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258) at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExp