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

CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

    XMLWordPrintable

Details

    Description

      This started with 1.556.

      root@recipe-test-centos-64-x86-64 ~]# java -jar /tmp/kitchen/cache/jenkins-cli.jar -s http://recipe-test-centos-64-x86-64.vagrantup.com:8080 -i /tmp/kitchen/cache/jenkins-key help
      Exception in thread "main" java.io.EOFException
      	at java.io.DataInputStream.readBoolean(DataInputStream.java:244)
      	at hudson.cli.Connection.readBoolean(Connection.java:94)
      	at hudson.cli.CLI.authenticate(CLI.java:553)
      	at hudson.cli.CLI._main(CLI.java:464)
      	at hudson.cli.CLI.main(CLI.java:382)
      

      Attachments

        Issue Links

          Activity

            jchauncey Jonathan Chauncey created issue -
            erichelgeson Eric Helgeson made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-20064 [ JENKINS-20064 ]
            jglick Jesse Glick made changes -
            Assignee Kohsuke Kawaguchi [ kohsuke ]
            jglick Jesse Glick made changes -
            Labels cli regression user
            Summary jenkins cli command with key fails with - java.io.EOFException CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            jglick Jesse Glick made changes -
            Link This issue is blocking JENKINS-20064 [ JENKINS-20064 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-20064 [ JENKINS-20064 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 154437 ] JNJira + In-Review [ 194905 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-41745 [ JENKINS-41745 ]
            docwhat Christian Höltje made changes -
            Link This issue is related to JENKINS-44020 [ JENKINS-44020 ]

            People

              kohsuke Kohsuke Kawaguchi
              jchauncey Jonathan Chauncey
              Votes:
              29 Vote for this issue
              Watchers:
              44 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: