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

Unexpected docker-host issues make Jenkins Hang



    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Duplicate
    • Component/s: docker-plugin
    • Labels:
    • Environment:
      Jenkins Version: 2.7.4
      Docker Plugin Version: 0.16.2
      Docker Version: 1.12.1 on debian jessie
      Java Version: 1.7 & 1.8 on Jenkins Host
    • Similar Issues:


      It is observed in two scenarios that Docker plugin is making the entire Jenkins server to get hang.
      Firstly when docker-host faced kernel panic and secondly when docker-daemon is hanged.

      After this Jenkins not able to fail the running builds, even it make it fail after long time, docker nodes remain as dead.
      It is not possible to delete these nodes, abort the running builds manually or do any global configuration change to resume its working.
      It is required to forcefully kill and start the Jenkins process of the server to make it work again.

      Steps to reproduce
      Start 5 to 10 builds parallely on the Jenkins server which runs on the docker instance.
      Enable "Clean local image" option within "Docker Container" under General config of job.
      Now go to the docker host machine, Manally trigger kernel panic with comand "echo c > /proc/sysrq-trigger"
      Then even after 1 hour builds are showing running and it is hard to abort or delete the docker instances.


          Issue Links


            deepraut89 Deepak Raut created issue -
            ravi_s ravi s made changes -
            Field Original Value New Value
            Comment [ any updates on this?

            ndeloof Nicolas De Loof made changes -
            Assignee magnayn [ magnayn ] Nicolas De Loof [ ndeloof ]
            ndeloof Nicolas De Loof made changes -
            Link This issue duplicates JENKINS-42187 [ JENKINS-42187 ]
            ndeloof Nicolas De Loof made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]
            ndeloof Nicolas De Loof made changes -
            Status Resolved [ 5 ] Closed [ 6 ]


              ndeloof Nicolas De Loof
              deepraut89 Deepak Raut
              0 Vote for this issue
              3 Start watching this issue