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

Jenkins master container restarts every 24 hrs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • _unsorted
    • None

      We have setup Jenkins as a docker container in our infra. We recently upgraded Jenkins from 

      jenkins/jenkins:2.177 to jenkins/jenkins:2.331 version. After the upgrade we see an strange issue (We have never faced this issue with previous installed version). The issue is - After every 24 hrs, Jenkins master container gets restarted automatically without anything in logs.

      I checked everywhere in Jenkins, there's no place where I could find and schedule restart policy. And during this restart of Jenkins docker container, all my running jobs gets lost, we do no even find the build history of that execution. I in-fact can see the build number in JENKINS_HOME/jobs/${jobname}/builds/ but I cannot see that build number on Jenkins console.

      I am not sure if this is happening because of DockerContainerWatchdog or something else, but this is happening only in case of Jenkins (My instance is having other containers too but only Jenkins container gets restarted).

       

      Could you please help me understand why this is happening ? How can I stop this Jenkins master container restart.

            csanchez Carlos Sanchez
            vermavina69 Vinay Verma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: