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

exceptions on pluginManager with no plugins

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      start jenkins2.0 on a clean install
      close the wizzard so no plugins are installed.
      login
      restart
      login again
      go to plugin mananger
      click on Available tab
      wait for the page to start loading
      click con Installed tab

      Watch the exceptions spew in the logs...

      Mar 31, 2016 12:41:50 PM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: /pluginManager/available
      java.io.IOException: failed to deflate: error=-5 avail_out=198
              at com.jcraft.jzlib.DeflaterOutputStream.deflate(DeflaterOutputStream.java:140)
              at com.jcraft.jzlib.DeflaterOutputStream.finish(DeflaterOutputStream.java:111)
              at com.jcraft.jzlib.DeflaterOutputStream.close(DeflaterOutputStream.java:117)
              at org.kohsuke.stapler.compression.FilterServletOutputStream.close(FilterServletOutputStream.java:36)
              at org.kohsuke.stapler.compression.CompressionServletResponse.close(CompressionServletResponse.java:67)
              at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:63)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
              at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
              at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
              at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
              at org.eclipse.jetty.server.Server.handle(Server.java:499)
              at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
              at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
              at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
              at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      
      Mar 31, 2016 12:41:51 PM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: /pluginManager/available
      java.io.IOException: failed to deflate: error=-5 avail_out=198
              at com.jcraft.jzlib.DeflaterOutputStream.deflate(DeflaterOutputStream.java:140)
              at com.jcraft.jzlib.DeflaterOutputStream.finish(DeflaterOutputStream.java:111)
              at com.jcraft.jzlib.DeflaterOutputStream.close(DeflaterOutputStream.java:117)
              at org.kohsuke.stapler.compression.FilterServletOutputStream.close(FilterServletOutputStream.java:36)
              at org.kohsuke.stapler.compression.CompressionServletResponse.close(CompressionServletResponse.java:67)
              at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:63)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
              at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
              at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
              at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
              at org.eclipse.jetty.server.Server.handle(Server.java:499)
              at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
              at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
              at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
              at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      
      Mar 31, 2016 12:41:51 PM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: Could not send response error 500: java.io.IOException: failed to deflate: error=-5 avail_out=198
      

      This is likely not an issue in the plugin manager but in the new version of jetty / compression filter that is being over zelous in it's logging of - erm the other side went away whilst I was writing - but it does not look like that from the stack trace (even if it is).

        Attachments

          Issue Links

            Activity

            Hide
            swashbuck1r Spike Washburn added a comment -

            Daniel Beck says he doesn't think this is a regression caused by the setup wizard, but may instead be caused by Jenkins outputting a lot of stuff and then stopping the connection. Having No plugins installed and then loading the available plugins page may be an easy way to get Jenkins into this state.

            Show
            swashbuck1r Spike Washburn added a comment - Daniel Beck says he doesn't think this is a regression caused by the setup wizard, but may instead be caused by Jenkins outputting a lot of stuff and then stopping the connection. Having No plugins installed and then loading the available plugins page may be an easy way to get Jenkins into this state.
            Hide
            kzantow Keith Zantow added a comment -

            I was able to follow the steps here without any issue on OSX / Chrome. Is this browser specific?

            Show
            kzantow Keith Zantow added a comment - I was able to follow the steps here without any issue on OSX / Chrome. Is this browser specific?
            Hide
            danielbeck Daniel Beck added a comment -

            Keith Zantow This is an issue that appears to occur when the browser cuts the connection while Jenkins is actively sending data. I believe it's unrelated to the plugin manager, but the report doesn't make that clear. Probably just a case of it being a page in Jenkins that takes forever to load.

            AFAIK this has been logged on the same level in older Winstone-Jetty as well. Or do we know it wasn't?

            Show
            danielbeck Daniel Beck added a comment - Keith Zantow This is an issue that appears to occur when the browser cuts the connection while Jenkins is actively sending data. I believe it's unrelated to the plugin manager, but the report doesn't make that clear. Probably just a case of it being a page in Jenkins that takes forever to load. AFAIK this has been logged on the same level in older Winstone-Jetty as well. Or do we know it wasn't?
            Hide
            teilo James Nord added a comment -

            Daniel Beck I think the older jetty provided a different stack trace that made it clear the connection was closed, rather than a deflate filter error - I shall see if I can reproduce on a 1.x.

            Show
            teilo James Nord added a comment - Daniel Beck I think the older jetty provided a different stack trace that made it clear the connection was closed, rather than a deflate filter error - I shall see if I can reproduce on a 1.x.
            Hide
            teilo James Nord added a comment -

            could not reproduce in 1.642.1, went back to 2.0-beta-2 and could not repo their either. then tried 2.0-beta-1 and could not reproduce there either which is somewhat worrying as this was very reproducable the other day!

            Show
            teilo James Nord added a comment - could not reproduce in 1.642.1, went back to 2.0-beta-2 and could not repo their either. then tried 2.0-beta-1 and could not reproduce there either which is somewhat worrying as this was very reproducable the other day!
            Hide
            danielbeck Daniel Beck added a comment -

            Let's wait for more reports of this to come in.

            Show
            danielbeck Daniel Beck added a comment - Let's wait for more reports of this to come in.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Daniel Beck I think the issue still exists. See JENKINS-35125

            Show
            oleg_nenashev Oleg Nenashev added a comment - Daniel Beck I think the issue still exists. See JENKINS-35125
            Hide
            danielbeck Daniel Beck added a comment -

            Oleg Nenashev Right, but different file – has nothing to do with plugin manager. That was even a resource file…

            Show
            danielbeck Daniel Beck added a comment - Oleg Nenashev Right, but different file – has nothing to do with plugin manager. That was even a resource file…

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              teilo James Nord
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: