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

Intermittent error "Cannot contact node123: java.lang.InterruptedException " in jenkins

      We face below connection errors intermittently while running jobs on node123.

      Error which we see in build log is : Cannot contact node123: java.lang.InterruptedException

      I dont see any error in thread dump or any other logs related to this node.

      Also i see there was not connection drop between Master and node.

      Slave is see is running since more than 24 hrs now.

       

       

          [JENKINS-43038] Intermittent error "Cannot contact node123: java.lang.InterruptedException " in jenkins

          Manish Sawlani created issue -

          Oleg Nenashev added a comment -

          Please provide a full exception stacktrace at least

          Oleg Nenashev added a comment - Please provide a full exception stacktrace at least
          Oleg Nenashev made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]

          Lev Tartakovsky added a comment - - edited

          The problem persist also in Ubuntu 16.04, Jenkins 2.32.3.
          Unfortunately, I cannot find any evidence of exception stack trace.
          As part of the above problem troubleshooting I've used SSH Jenkins slave running at the same server as master. I've managed to workaround the problem by switching my jobs to run at master and not slave.

           

          Lev Tartakovsky added a comment - - edited The problem persist also in Ubuntu 16.04, Jenkins 2.32.3. Unfortunately, I cannot find any evidence of exception stack trace. As part of the above problem troubleshooting I've used SSH Jenkins slave running at the same server as master. I've managed to workaround the problem by switching my jobs to run at master and not slave.  

          Oleg Nenashev added a comment -

          OK. If you see no exception, please provide full Jenkins System logs at least. Without such information I cannot triangulate the issue

          Oleg Nenashev added a comment - OK. If you see no exception, please provide full Jenkins System logs at least. Without such information I cannot triangulate the issue
          Lev Tartakovsky made changes -
          Attachment New: jenkins.log.gz [ 36780 ]

          I've just uploaded my Jenkins log.
          Please note that most exceptions in the log are referring to disconnect/connect of slave.

          Lev Tartakovsky added a comment - I've just uploaded my Jenkins log. Please note that most exceptions in the log are referring to disconnect/connect of slave.

          The problem could be related to another problem that I've reported recently
          https://issues.jenkins-ci.org/browse/JENKINS-43106

          At the problem description you may find more logs, including thread dump that may shed some lite at the root cause of the problem.

          Lev Tartakovsky added a comment - The problem could be related to another problem that I've reported recently https://issues.jenkins-ci.org/browse/JENKINS-43106 At the problem description you may find more logs, including thread dump that may shed some lite at the root cause of the problem.
          Lev Tartakovsky made changes -
          Attachment New: pipeline_log.txt [ 36815 ]

          Lev Tartakovsky added a comment - - edited

          I've managed to catch the exception which may shed some light on the problem.
          Please review the attached pipeline_log.txt

          At the same time build log printed:
          [Pipeline] stage
          [Pipeline] { (Create GIT TAG)
          [Pipeline] sh
          10:45:26 [CISystem_generic@2] Running shell script
          10:45:37 Cannot contact ##############: java.lang.InterruptedException
          10:45:47 Cannot contact ##############: java.lang.InterruptedException
          10:45:57 Cannot contact ##############: java.lang.InterruptedException
          10:46:07 Cannot contact ##############: java.lang.InterruptedException
          10:46:18 Cannot contact ##############: java.lang.InterruptedException
          10:46:28 Cannot contact ##############: java.lang.InterruptedException
          10:46:38 Cannot contact ##############: java.lang.InterruptedException
          10:46:48 Cannot contact ##############: java.lang.InterruptedException
          10:46:59 Cannot contact ##############: java.lang.InterruptedException
          10:47:09 Cannot contact ##############: java.lang.InterruptedException
          10:47:19 Cannot contact ##############: java.lang.InterruptedException
          10:47:29 Cannot contact ##############: java.lang.InterruptedException
          10:47:40 Cannot contact ##############: java.lang.InterruptedException
          10:47:50 Cannot contact ##############: java.lang.InterruptedException
          10:48:00 Cannot contact ##############: java.lang.InterruptedException
          10:48:10 Cannot contact ##############: java.lang.InterruptedException
          10:48:21 Cannot contact ##############: java.lang.InterruptedException
          10:48:31 Cannot contact ##############: java.lang.InterruptedException
          10:48:41 Cannot contact ##############: java.lang.InterruptedException
          10:48:51 Cannot contact ##############: java.lang.InterruptedException
          10:49:02 Cannot contact ##############: java.lang.InterruptedException
          10:49:12 Cannot contact ##############: java.lang.InterruptedException
          10:49:22 Cannot contact ##############: java.lang.InterruptedException
          10:49:32 Cannot contact ##############: java.lang.InterruptedException
          10:49:43 Cannot contact ##############: java.lang.InterruptedException
          10:49:53 Cannot contact ##############: java.lang.InterruptedException
          10:50:03 Cannot contact ##############: java.lang.InterruptedException
          10:50:13 Cannot contact ##############: java.lang.InterruptedException
          10:50:24 Cannot contact ##############: java.lang.InterruptedException
          10:50:34 Cannot contact ##############: java.lang.InterruptedException
          10:50:44 Cannot contact ##############: java.lang.InterruptedException
          10:50:54 Cannot contact ##############: java.lang.InterruptedException
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins
          10:51:00 + git tag -a ############## -m Created by Jenkins

          Lev Tartakovsky added a comment - - edited I've managed to catch the exception which may shed some light on the problem. Please review the attached pipeline_log.txt At the same time build log printed: [Pipeline] stage [Pipeline] { (Create GIT TAG) [Pipeline] sh 10:45:26 [CISystem_generic@2] Running shell script 10:45:37 Cannot contact ##############: java.lang.InterruptedException 10:45:47 Cannot contact ##############: java.lang.InterruptedException 10:45:57 Cannot contact ##############: java.lang.InterruptedException 10:46:07 Cannot contact ##############: java.lang.InterruptedException 10:46:18 Cannot contact ##############: java.lang.InterruptedException 10:46:28 Cannot contact ##############: java.lang.InterruptedException 10:46:38 Cannot contact ##############: java.lang.InterruptedException 10:46:48 Cannot contact ##############: java.lang.InterruptedException 10:46:59 Cannot contact ##############: java.lang.InterruptedException 10:47:09 Cannot contact ##############: java.lang.InterruptedException 10:47:19 Cannot contact ##############: java.lang.InterruptedException 10:47:29 Cannot contact ##############: java.lang.InterruptedException 10:47:40 Cannot contact ##############: java.lang.InterruptedException 10:47:50 Cannot contact ##############: java.lang.InterruptedException 10:48:00 Cannot contact ##############: java.lang.InterruptedException 10:48:10 Cannot contact ##############: java.lang.InterruptedException 10:48:21 Cannot contact ##############: java.lang.InterruptedException 10:48:31 Cannot contact ##############: java.lang.InterruptedException 10:48:41 Cannot contact ##############: java.lang.InterruptedException 10:48:51 Cannot contact ##############: java.lang.InterruptedException 10:49:02 Cannot contact ##############: java.lang.InterruptedException 10:49:12 Cannot contact ##############: java.lang.InterruptedException 10:49:22 Cannot contact ##############: java.lang.InterruptedException 10:49:32 Cannot contact ##############: java.lang.InterruptedException 10:49:43 Cannot contact ##############: java.lang.InterruptedException 10:49:53 Cannot contact ##############: java.lang.InterruptedException 10:50:03 Cannot contact ##############: java.lang.InterruptedException 10:50:13 Cannot contact ##############: java.lang.InterruptedException 10:50:24 Cannot contact ##############: java.lang.InterruptedException 10:50:34 Cannot contact ##############: java.lang.InterruptedException 10:50:44 Cannot contact ##############: java.lang.InterruptedException 10:50:54 Cannot contact ##############: java.lang.InterruptedException 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins 10:51:00 + git tag -a ############## -m Created by Jenkins

            svanoort Sam Van Oort
            msavlani1 Manish Sawlani
            Votes:
            25 Vote for this issue
            Watchers:
            44 Start watching this issue

              Created:
              Updated:
              Resolved: