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

Lost ssh connection is not recognized

    XMLWordPrintable

Details

    Description

      We've been using version 2.12.0 of the plugin since quite a while without any issues. After upgrading to 2.23.0 we frequently (every few days) run into the problem that somehow the ssh connection is lost without the underlying ssh implementation recognizing this.

      I created a slightly modified version to get more log output and encountered that the read method of the Reader
      while (reader.read(cb) != -1)
      returns with 0 bytes read.

      Could it be that this is related to https://github.com/sonyxperiadev/gerrit-events/pull/58

      If yes the real problem is then in the underlying ssh implementation.

      Attachments

        Issue Links

          Activity

            mawinter69 Markus Winter created issue -
            mawinter69 Markus Winter made changes -
            Field Original Value New Value
            Link This issue relates to JENKINS-40965 [ JENKINS-40965 ]
            ssbarnea Sorin Sbarnea made changes -
            Description We've been using version 2.12.0 of the plugin since quite a while without any issues. After upgrading to 2.23.0 we frequently (every few days) run into the problem that somehow the ssh connection is lost without the underlying ssh implementation recognizing this.

            I created a slightly modified version to get more log output and encountered that the read method of the Reader
            while (reader.read(cb) != -1)
            returns with 0 bytes read.

            Could it be that this is related to [https://github.com/sonyxperiadev/gerrit-events/pull/58?|https://github.com/sonyxperiadev/gerrit-events/pull/58)]

            If yes the real problem is then in the underlying ssh implementation.
            We've been using version 2.12.0 of the plugin since quite a while without any issues. After upgrading to 2.23.0 we frequently (every few days) run into the problem that somehow the ssh connection is lost without the underlying ssh implementation recognizing this.

            I created a slightly modified version to get more log output and encountered that the read method of the Reader
             while (reader.read(cb) != -1)
             returns with 0 bytes read.

            Could it be that this is related to [https://github.com/sonyxperiadev/gerrit-events/pull/58|https://github.com/sonyxperiadev/gerrit-events/pull/58)]

            If yes the real problem is then in the underlying ssh implementation.
            ssbarnea Sorin Sbarnea made changes -
            Description We've been using version 2.12.0 of the plugin since quite a while without any issues. After upgrading to 2.23.0 we frequently (every few days) run into the problem that somehow the ssh connection is lost without the underlying ssh implementation recognizing this.

            I created a slightly modified version to get more log output and encountered that the read method of the Reader
             while (reader.read(cb) != -1)
             returns with 0 bytes read.

            Could it be that this is related to [https://github.com/sonyxperiadev/gerrit-events/pull/58|https://github.com/sonyxperiadev/gerrit-events/pull/58)]

            If yes the real problem is then in the underlying ssh implementation.
            We've been using version 2.12.0 of the plugin since quite a while without any issues. After upgrading to 2.23.0 we frequently (every few days) run into the problem that somehow the ssh connection is lost without the underlying ssh implementation recognizing this.

            I created a slightly modified version to get more log output and encountered that the read method of the Reader
             while (reader.read(cb) != -1)
             returns with 0 bytes read.

            Could it be that this is related to https://github.com/sonyxperiadev/gerrit-events/pull/58

            If yes the real problem is then in the underlying ssh implementation.
            mawinter69 Markus Winter made changes -
            Link This issue is duplicated by JENKINS-44568 [ JENKINS-44568 ]
            mawinter69 Markus Winter made changes -
            Link This issue relates to JENKINS-40965 [ JENKINS-40965 ]
            mawinter69 Markus Winter made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]

            People

              rsandell rsandell
              mawinter69 Markus Winter
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: