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

Jenkins 2.34x (launched with Docker) does not quit when asking with Manage Jenkins -> Prepare for Shutdown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • Jenkins 2.347, Docker version 20.10.14, build a224086, Windows 11 Pro 21H2

      Hi,

      When I use the /exit or /safeRestart, everything works as expected.
      When I use the Manage Jenkins -> Prepare for Shutdown, I have the red headband saying Jenkins will shut down, but nothing is shown in the logs, and Jenkins never stops.

      From a fresh installation, you can see the plugins install, and then when I ask for a shutdown, no further log can be seen.

       h.m.DownloadService$Downloadable#load: Obtained the updated data file for hudson.tasks.Ant.AntInstaller
      2022-05-11 14:34:52.108+0000 [id=133]   INFO    h.m.DownloadService$Downloadable#load: Obtained the updated data file for hudson.plugins.gradle.GradleInstaller
      2022-05-11 14:34:52.989+0000 [id=133]   INFO    h.m.DownloadService$Downloadable#load: Obtained the updated data file for hudson.tools.JDKInstaller
      2022-05-11 14:34:53.039+0000 [id=310]   INFO    jenkins.InitReactorRunner$1#onAttained: Started initialization
      2022-05-11 14:34:53.043+0000 [id=319]   INFO    jenkins.InitReactorRunner$1#onAttained: Listed all plugins
      2022-05-11 14:34:53.045+0000 [id=325]   INFO    jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
      2022-05-11 14:34:53.097+0000 [id=334]   INFO    jenkins.InitReactorRunner$1#onAttained: Started all plugins
      2022-05-11 14:34:53.109+0000 [id=341]   INFO    jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
      2022-05-11 14:34:53.114+0000 [id=346]   INFO    jenkins.InitReactorRunner$1#onAttained: System config loaded
      2022-05-11 14:34:53.143+0000 [id=318]   INFO    jenkins.InitReactorRunner$1#onAttained: System config adapted
      2022-05-11 14:34:53.184+0000 [id=330]   INFO    jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
      2022-05-11 14:34:53.185+0000 [id=333]   INFO    jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
      2022-05-11 14:34:53.487+0000 [id=331]   INFO    jenkins.InitReactorRunner$1#onAttained: Completed initialization
      2022-05-11 14:34:53.491+0000 [id=133]   INFO    h.m.UpdateCenter$CompleteBatchJob#run: Completed installation of 83 plugins in 1 min 43 sec 

      Using --rm --restart=always --restart=on-failure makes no difference in behaviour.

       

            Unassigned Unassigned
            poddingue Bruno Verachten
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: