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

jenkins-cli test fail

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Minor Minor
    • component
    • None
    • Windows

      Trying to setup jenkins-cli on standalone and tomcat.

      I have downloaded jenkins-cli and tried to run the command given on GUI "java -jar jenkins-cli.jar -s http://localhost:9090/ help" throwing below error.

       

      WARNING: unknown operation #32: 0x0a
      0x0a
      0x0a
      0x0a
      ' '
      May 20, 2017 3:31:39 PM hudson.cli.PlainCLIProtocol$EitherSide$Reader run
      WARNING: null
      hudson.cli.DiagnosedStreamCorruptionException
      Read back: 0x0a
      0x0a
      0x0a
      0x0a
      ' ' 0x0a
      ' <!DOCTYPE html><html><head resURL="/static/dfe773ac" data-rooturl="" data-resurl="/static/dfe773ac">' 0x0a
      ' ' 0x0a
      0x0a
      ' <title>Jenkins [Jenkins]</title><link rel="stylesheet" href="/static/dfe773ac/css/layout-common.css" type="text/css" /><link rel="stylesheet" href="/static/dfe773ac/css/style.css" type="text/css" /><link rel="stylesheet" href="/static/dfe773ac/css/color.css" type="text/css" /><link rel="stylesheet" href="/static/dfe773ac/css/responsive-grid.css" type="text/css" /><link rel="shortcut icon" href="/static/dfe773ac/favicon.ico" type="image/vnd.microsoft.icon" /><link color="black" rel="mask-icon" href="/images/mask-icon.svg" /><script>var isRunAsTest=false; var rootURL=""; var resURL="/static/dfe773ac";</script><script src="/static/dfe773ac/scripts/prototype.js" type="text/javascript"></script><script src="/static/dfe773ac/scripts/behavior.js" type="text/javascript"></script><script src='/adjuncts/dfe773ac/org/kohsuke/stapler/bind.js' type='text/javascript'></script><script src="/static/dfe773ac/scripts/yui/yahoo/yahoo-min.js"></script><script src="/static/dfe773ac/scripts/yui/dom/dom-min.js"></script><script src="/static/dfe773ac/scripts/yui/event/event-min.js"></script><script src="/static/dfe773ac/scripts/yui/animation/animation-min.js"></script><script src="/static/dfe773ac/scripts/yui/dragdrop/dragdrop-min.js"></script><script src="/static/dfe773ac/scripts/yui/container/container-min.js"></script><script src="/static/dfe773ac/scripts/yui/connection/connection-min.js"></script><script src="/static/dfe773ac/scripts/yui/datasource/datasource-min.js"></script><script src="/static/dfe773ac/scripts/yui/autocomplete/autocomplete-min.js"></script><script src="/static/dfe773ac/scripts/yui/menu/menu-min.js"></script><script src="/static/dfe773ac/scripts/yui/element/element-min.js"></script><script src="/static/dfe773ac/scripts/yui/button/button-min.js"></script><script src="/static/dfe773ac/scripts/yui/storage/storage-min.js"></script><script src="/static/dfe773ac/scripts/hudson-behavior.js" type="text/javascript"></script><script src="/static/dfe773ac/scripts/sortable.js" type="text/javascript"></script><script>crumb.init("Jenkins-Crumb", "d32c1ff89d2b1f390717d59632ee7518");</script><link rel="stylesheet" href="/static/dfe773ac/scripts/yui/container/assets/container.css" type="text/css" /><link rel="stylesheet" href="/static/dfe773ac/scripts/yui/assets/skins/sam/skin.css" type="text/css" /><link rel="stylesheet" href="/static/dfe773ac/scripts/yui/container/assets/skins/sam/container.css" type="text/css" /><link rel="stylesheet" href="/static/dfe773ac/scripts/yui/button/assets/skins/sam/button.css" type="text/css" /><link rel="stylesheet" href="/static/dfe773ac/scripts/yui/menu/assets/skins/sam/menu.css" type="text/css" /><meta name="ROBOTS" content="INDEX,NOFOLLOW" /><meta name="viewport" content="width=device-width, initial-scale=1" /><script src="/static/dfe773ac/jsbundles/page-init.js" type="text/javascript"></script></head><body data-model-type="hudson.model.Hudson" id="jenkins" class="yui-skin-sam jenkins-2.46.2 two-column" data-version="2.46.2"><a href="#skip2content" class="skiplink">Skip to content</a><div id="page-head"><div id="header"><div class="logo"><a id="jenkins-home-link" href="/"><img src="/static/dfe773ac/images/headshot.png" alt="title" id="jenkins-head-icon" /><img src="/static/dfe773ac/images/title.png" alt="title" width="139" id="jenkins-name-icon" height="34" /></a></div><div class="login">' 0xc2 0xa0 '<a href="/login?from=%2Fcli"><b>log in</b></a></div><div class="searchbox hidden-xs"><form method="get" name="search" action="/search/" style="position:relative;" class="no-json"><div id="search-box-minWidth"></div><div id="search-box-sizer"></div><div id="searchform"><input name="q" placeholder="search" id="search-box" class="has-default-text" />' 0xc2 0xa0 '<a href="http://wiki.jenkins-ci.org/display/JENKINS/Search+Box"><img src="/static/dfe773ac/images/16x16/help.png" style="width: 16px; height: 16px; " class="icon-help icon-sm" /></a><div id="search-box-completion"></div><script>createSearchBox("/search/");</script></div></form></div></div><div id="breadcrumbBar"><tr id="top-nav"><td id="left-top-nav" colspan="2"><link rel='stylesheet' href='/adjuncts/dfe773ac/lib/layout/breadcrumbs.css' type='text/css' /><script src='/adjuncts/dfe773ac/lib/layout/breadcrumbs.js' type='text/javascript'></script><div class="top-sticker noedge"><div class="top-sticker-inner"><div id="right-top-nav"></div><ul id="breadcrumbs"><li class="item"><a href="/" class="model-link inside">Jenkins</a></li><li href="/" class="children"></li></ul><div id="breadcrumb-menu-target"></div></div></div></td></tr></div></div><div id="page-body" class="clear"><div id="side-panel"><div class="task"><a href="http://jenkins-ci.org/" class="task-icon-link"><img src="/static/dfe773ac/images/24x24/next.png" style="width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;" class="icon-next icon-md" /></a>' 0xc2 0xa0 '<a href="http://jenkins-ci.org/" class="task-link">Jenkins project</a></div><div class="task"><a href="http://issues.jenkins-ci.org/" class="task-icon-link"><img src="/static/dfe773ac/images/24x24/gear2.png" style="width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;" class="icon-gear2 icon-md" /></a>' 0xc2 0xa0 '<a href="http://issues.jenkins-ci.org/" class="task-link">Bug tracker</a></div><div class="task"><a href="http://jenkins-ci.org/content/mailing-lists" class="task-icon-link"><img src="/static/dfe773ac/images/24x24/search.png" style="width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;" class="icon-search icon-md" /></a>' 0xc2 0xa0 '<a href="http://jenkins-ci.org/content/mailing-lists" class="task-link">Mailing Lists</a></div><div class="task"><a href="https://twitter.com/jenkinsci" class="task-icon-link"><img src="/static/dfe773ac/images/24x24/user.png" style="width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;" class="icon-user icon-md" /></a>' 0xc2 0xa0 '<a href="https://twitter.com/jenkinsci" class="task-link">Twitter: @jenkinsci</a></div></div><div id="main-panel"><a name="skip2content"></a><h1 style="text-align: center"><img src="/static/dfe773ac/images/rage.png" width="154" height="179" /><span style="font-size:50px">' 0xc2 0xa0 'Oops!</span></h1><div id="error-description"><p>A problem occurred while processing the request.' 0x0a
      ' Please check <a href="https://issues.jenkins-ci.org/">our bug tracker</a> to see if a similar problem has already been reported.' 0x0a
      ' If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem.' 0x0a
      ' If you think this is a new issue, please file a new issue.' 0x0a
      ' When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins.' 0x0a
      ' <a href="http://jenkins-ci.org/content/mailing-lists">The users list</a> might be also useful in understanding what has happened.</p><h2>Stack trace</h2><pre style="margin:2em; clear:both">java.io.IOException: HTTP full-duplex channel timeout: b4b80970-e863-4672-ac6a-798329759156' 0x0d 0x0a
      0x09 'at jenkins.util.FullDuplexHttpService.download(FullDuplexHttpService.java:99)' 0x0d 0x0a
      0x09 'at jenkins.util.FullDuplexHttpService$Response.generateResponse(FullDuplexHttpService.java:162)' 0x0d 0x0a
      0x09 'at org.kohsuke.stapler.HttpResponseRenderer$Default.handleHttpResponse(HttpResponseRenderer.java:124)' 0x0d 0x0a
      0x09 'at org.kohsuke.stapler.HttpResponseRenderer$Default.generateResponse(HttpResponseRenderer.java:69)' 0x0d 0x0a
      0x09 'at org.kohsuke.stapler.Function.renderResponse(Function.java:136)' 0x0d 0x0a
      0x09 'at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:676)' 0x0d 0x0a
      0x09 'at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)' 0x0d 0x0a
      0x09 'at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374)' 0x0d 0x0a
      0x09 'at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)' 0x0d 0x0a
      0x09 'at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)' 0x0d 0x0a
      0x09 'at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)' 0x0d 0x0a
      0x09 'at org.kohsuke.stapler.Stapler.service(Stapler.java:238)' 0x0d 0x0a
      0x09 'at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)' 0x0d 0x0a
      0x09 'at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)' 0x0d 0x0a
      0x09 'at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)' 0x0d 0x0a
      0x09 'at hudson.cli.CliCrumbExclusion.process(CliCrumbExclusion.java:47)' 0x0d 0x0a
      0x09 'at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:58)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)' 0x0d 0x0a
      0x09 'at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)' 0x0d 0x0a
      0x09 'at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)' 0x0d 0x0a
      0x09 'at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)' 0x0d 0x0a
      0x09 'at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)' 0x0d 0x0a
      0x09 'at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)' 0x0d 0x0a
      0x09 'at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)' 0x0d 0x0a
      0x09 'at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)' 0x0d 0x0a
      0x09 'at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135)' 0x0d 0x0a
      0x09 'at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)' 0x0d 0x0a
      0x09 'at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)' 0x0d 0x0a
      0x09 'at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)' 0x0d 0x0a
      0x09 'at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)' 0x0d 0x0a
      0x09 'at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)' 0x0d 0x0a
      0x09 'at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)' 0x0d 0x0a
      0x09 'at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)' 0x0d 0x0a
      0x09 'at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)' 0x0d 0x0a
      0x09 'at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)' 0x0d 0x0a
      0x09 'at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)' 0x0d 0x0a
      0x09 'at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)' 0x0d 0x0a
      0x09 'at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)' 0x0d 0x0a
      0x09 'at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.server.Server.handle(Server.java:499)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)' 0x0d 0x0a
      0x09 'at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)' 0x0d 0x0a
      0x09 'at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)' 0x0d 0x0a
      0x09 'at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)' 0x0d 0x0a
      0x09 'at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)' 0x0d 0x0a
      0x09 'at java.lang.Thread.run(Unknown Source)' 0x0d 0x0a
      '</pre></div></div></div><footer><div class="container-fluid"><div class="row"><div class="col-md-6" id="footer"></div><div class="col-md-18"><span class="page_generated">Page generated: May 20, 2017 3:31:39 PM EDT</span><span class="rest_api"><a href="api/">REST API</a></span><span class="jenkins_ver"><a href="http://jenkins-ci.org/">Jenkins ver. 2.46.2</a></span></div></div></div></footer></body></html>'
      Read ahead:
      at hudson.cli.FlightRecorderInputStream.analyzeCrash(FlightRecorderInputStream.java:82)
      at hudson.cli.PlainCLIProtocol$EitherSide$Reader.run(PlainCLIProtocol.java:153)
      Caused by: java.io.EOFException: Bytes to skip: 168430090 actual: 12736
      at org.apache.commons.io.IOUtils.skipFully(IOUtils.java:2360)
      at hudson.cli.PlainCLIProtocol$EitherSide$Reader.run(PlainCLIProtocol.java:132)

            praqma Praqma Support
            rmogallapu Ravi M
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: