Dear,

      After a restart, Jenkins is not accessible and displays a "Please wait while Jenkins is getting ready to work" message.

      This does not happens at every restart.
      The generated thread dump is pointing out a deadlock (see in attachment).

      Best regards,

          [JENKINS-28422] Jenkins is hanging after a restart (deadlock)

          Daniel Beck added a comment -

          Thanks for your response. I took a closer look at the situation.

          It looks very similar to the situation described in the Metrics Plugin blog post, so that's what threw me off.

          Neither Green Balls nor JQS Monitoring should be performing any extension list access this early. The former is explained in the blog post even.

          Assigning this issue to the two plugins that both appear to contribute to the problem reported here.

          Daniel Beck added a comment - Thanks for your response. I took a closer look at the situation. It looks very similar to the situation described in the Metrics Plugin blog post, so that's what threw me off. Neither Green Balls nor JQS Monitoring should be performing any extension list access this early. The former is explained in the blog post even. Assigning this issue to the two plugins that both appear to contribute to the problem reported here.

          asgeirn added a comment -

          I've added a InitMilestone check to the filter. Could you try this snapshot build and report back whether it fixes your issue?

          asgeirn added a comment - I've added a InitMilestone check to the filter. Could you try this snapshot build and report back whether it fixes your issue?

          Dear,

          Thanks for your help.
          We have taken into account the snapshot version enclosed to this ticket on our qualification environment and did not see any regression.
          However, there is no big volume on this environment; we will be able to check this in production.

          Could you please provide a final release for this plugin ?

          Thanks

          Ludovic Vercruysse added a comment - Dear, Thanks for your help. We have taken into account the snapshot version enclosed to this ticket on our qualification environment and did not see any regression. However, there is no big volume on this environment; we will be able to check this in production. Could you please provide a final release for this plugin ? Thanks

          Dear,

          Could you please provide an update on my previous comment ?

          Could you please also tell if some changes are planned on the JQS Monitoring plugin ?

          Best regards

          Ludovic Vercruysse added a comment - Dear, Could you please provide an update on my previous comment ? Could you please also tell if some changes are planned on the JQS Monitoring plugin ? Best regards

          Jesse Glick added a comment -

          We really need a MetaExtension extension point stephenconnolly. I fear that code in branch-api could hit the same problem you are apparently solving here but cannot use the same solution as it needs to run before EXTENSIONS_AUGMENTED at least according to the documentation of that milestone.

          Jesse Glick added a comment - We really need a MetaExtension extension point stephenconnolly . I fear that code in branch-api could hit the same problem you are apparently solving here but cannot use the same solution as it needs to run before EXTENSIONS_AUGMENTED at least according to the documentation of that milestone.

          Code changed in jenkins
          User: Asgeir Storesund Nilsen
          Path:
          src/main/java/hudson/plugins/greenballs/GreenBallFilter.java
          http://jenkins-ci.org/commit/greenballs-plugin/0b35cac0ae518c14d1bcf0aa39dfcf694b6c09b5
          Log:
          Fix for JENKINS-28422

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Asgeir Storesund Nilsen Path: src/main/java/hudson/plugins/greenballs/GreenBallFilter.java http://jenkins-ci.org/commit/greenballs-plugin/0b35cac0ae518c14d1bcf0aa39dfcf694b6c09b5 Log: Fix for JENKINS-28422

          asgeirn Would you mind cutting a new release now that this issue is fixed?

          Yoann Dubreuil added a comment - asgeirn Would you mind cutting a new release now that this issue is fixed?

          asgeirn added a comment -

          Certainly. Can you confirm that this solves the issue?

          Asgeir

          asgeirn added a comment - Certainly. Can you confirm that this solves the issue? Asgeir

          asgeirn added a comment -

          Hopefully fixed in release 1.15.

          asgeirn added a comment - Hopefully fixed in release 1.15.

          I can't confirm that it really fixes the issue as I don't have a way to reproduce it easily. Will update the issue if that happens again.

          Yoann Dubreuil added a comment - I can't confirm that it really fixes the issue as I don't have a way to reproduce it easily. Will update the issue if that happens again.

            asgeirn asgeirn
            wl_tfe Thomas Ferreira
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: