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

JSch throws an exception every once in a while

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Incomplete
    • Component/s: ssh-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver: 1.615
      CentOS 6.5 x64
      JDK 1.7
    • Similar Issues:

      Description

      I have 5 Jenkins builds that run every 5 minutes, every day each of them fail at least 10 times randomly with the following exception:
      [SSH] Exception:verify: false
      com.jcraft.jsch.JSchException: verify: false
      at com.jcraft.jsch.Session.connect(Session.java:295)
      at com.jcraft.jsch.Session.connect(Session.java:150)
      at org.jvnet.hudson.plugins.SSHSite.createSession(SSHSite.java:141)
      at org.jvnet.hudson.plugins.SSHSite.executeCommand(SSHSite.java:151)
      at org.jvnet.hudson.plugins.SSHBuilder.perform(SSHBuilder.java:60)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      at hudson.model.Build$BuildExecution.build(Build.java:205)
      at hudson.model.Build$BuildExecution.doRun(Build.java:162)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      at hudson.model.Run.execute(Run.java:1744)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:374)
      Build step 'Execute shell script on remote host using ssh' marked build as failure

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jclarkk Jonathan Clark
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: