Re: 1.634 not downloading zip archives on Windows

28 views
Skip to first unread message

Daniel Beck

unread,
Oct 20, 2015, 12:23:01 PM10/20/15
to jenkins...@googlegroups.com
Known issue: https://issues.jenkins-ci.org/browse/JENKINS-31015

On 19.10.2015, at 18:38, Trinition <tr...@trinition.org> wrote:

> We just updated to 1.634 but our promotion jobs that start by downloading the archived artifacts. That is failing because the download link itself is returning an HTTP 500. For example:
>
> http://jenkins/job/MyJob/1046/artifact/*zip*/archive.zip
>
> I get an "Oops!" evil Jenkins, and a stack trace that suggests the requested path is being passed directly to Windows, which rightfully rejects it:
>
> java.nio.file.InvalidPathException: Illegal char <*> at index 69: C:\Program Files (x86)\Jenkins\jobs\Gatwick Prod\builds\1046\archive\*zip*
> at sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
> at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
> at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
> at sun.nio.fs.WindowsPath.parse(Unknown Source)
> at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)
> at java.io.File.toPath(Unknown Source)
> at jenkins.util.VirtualFile$FileVF.isIllegalSymlink(VirtualFile.java:301)
> at jenkins.util.VirtualFile$FileVF.exists(VirtualFile.java:247)
> at hudson.model.DirectoryBrowserSupport.serveFile(DirectoryBrowserSupport.java:186)
> at hudson.model.DirectoryBrowserSupport.generateResponse(DirectoryBrowserSupport.java:124)
> 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:113)
> at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:98)
> at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
> at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
> at org.kohsuke.stapler.MetaClass$13.dispatch(MetaClass.java:411)
> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
> at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
> at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
> 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:848)
> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
> at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:129)
> at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:95)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:129)
> at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
> at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
> 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:142)
> at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
> at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
> at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
> at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
> at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
> at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
> at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
> at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
> at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
> at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
> at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
> at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
> at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
> at org.eclipse.jetty.server.Server.handle(Server.java:370)
> at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
> at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
> at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
> at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
> at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
> at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
>
> --
> 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-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b6b64623-0c72-479f-82d2-80b3efb97885%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

TomM

unread,
Oct 28, 2015, 8:32:28 AM10/28/15
to Jenkins Users, m...@beckweb.net
I get this too :-(

TomM

unread,
Oct 28, 2015, 11:52:04 AM10/28/15
to Jenkins Users, m...@beckweb.net

Baptiste Mathus

unread,
Oct 28, 2015, 11:56:41 AM10/28/15
to jenkins...@googlegroups.com
Hi, not sure I understand: you're answering Daniel's email, where he said "known issue: https://issues.jenkins-ci.org/browse/JENKINS-31226" hence the issue was actually already filed.

Cheers

2015-10-28 16:52 GMT+01:00 TomM <tom.me...@vigilantapps.com>:
Raised as a ticket:

For more options, visit https://groups.google.com/d/optout.



--
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !
Reply all
Reply to author
Forward
0 new messages