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

Click on job name hangs and results into ERR_CONNECTION_CLOSED

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hi,

      We are facing weird issue on hanging job which never finishes. can not open job page by clicking on job name which later results into ERR_CONNECTION_CLOSED.

      This problem happening after upgrading jenkins 2.176 to 2.235.2 (Even we didn't update plugins). Later thought plugins update is necessary so updated all plugins but problem is still there. 

      The issue is happening once in while and only some of jobs are affected which we can not open. Restarting jenkins server helps.

       

      The plugins Version.

      Pipeline Groovy : 2.90

      Pipeline Job: 2.40

      what could be the reason??

        Attachments

          Activity

          Hide
          danacovaci30 Dana added a comment - - edited

          Hello 

          We also faced the same. We have jenkins version 2.235.2 and we just updated all our plugins. The thread dump looks like this: 

          Running CpsFlowExecutionOwner

          "Running CpsFlowExecutionOwner[ #14584]]" Id=244802 Group=main BLOCKED on org.jenkinsci.plugins.workflow.job.WorkflowRun@c1442e0 owned by "Handling GET /blue/organizations/jenkins/detail//14579/pipeline/ from 10.0.1.19 : Jetty (winstone)-242279 BlueOceanUI/index.jelly PageStatePreloadDecorator/header.jelly" Id=242279 at hudson.plugins.sonar.action.SonarProjectActionFactory.createProjectPage(SonarProjectActionFactory.java:116) - blocked on org.jenkinsci.plugins.workflow.job.WorkflowRun@c1442e0 at hudson.plugins.sonar.action.SonarProjectActionFactory.createFor(SonarProjectActionFactory.java:83) at hudson.plugins.sonar.action.SonarProjectActionFactory.createFor(SonarProjectActionFactory.java:42) at hudson.model.Actionable.createFor(Actionable.java:114) at hudson.model.Actionable.getActions(Actionable.java:139) at hudson.model.Job.getPermalinks(Job.java:1068) at jenkins.model.PeepholePermalink$RunListenerImpl.onCompleted(PeepholePermalink.java:223) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:209) at org.jenkinsci.plugins.workflow.job.WorkflowRun.finish(WorkflowRun.java:610) at org.jenkinsci.plugins.workflow.job.WorkflowRun.access$800(WorkflowRun.java:137) at org.jenkinsci.plugins.workflow.job.WorkflowRun$GraphL.onNewHead(WorkflowRun.java:1037) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.notifyListeners(CpsFlowExecution.java:1463) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$3.run(CpsThreadGroup.java:458) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:37) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Number of locked synchronizers = 1 - java.util.concurrent.ThreadPoolExecutor$Worker@73947f7d

          Show
          danacovaci30 Dana added a comment - - edited Hello  We also faced the same. We have jenkins version 2.235.2 and we just updated all our plugins. The thread dump looks like this:  Running CpsFlowExecution Owner "Running CpsFlowExecution Owner[ #14584] ]" Id=244802 Group=main BLOCKED on org.jenkinsci.plugins.workflow.job.WorkflowRun@c1442e0 owned by "Handling GET /blue/organizations/jenkins/detail//14579/pipeline/ from 10.0.1.19 : Jetty (winstone)-242279 BlueOceanUI/index.jelly PageStatePreloadDecorator/header.jelly" Id=242279 at hudson.plugins.sonar.action.SonarProjectActionFactory.createProjectPage(SonarProjectActionFactory.java:116) - blocked on org.jenkinsci.plugins.workflow.job.WorkflowRun@c1442e0 at hudson.plugins.sonar.action.SonarProjectActionFactory.createFor(SonarProjectActionFactory.java:83) at hudson.plugins.sonar.action.SonarProjectActionFactory.createFor(SonarProjectActionFactory.java:42) at hudson.model.Actionable.createFor(Actionable.java:114) at hudson.model.Actionable.getActions(Actionable.java:139) at hudson.model.Job.getPermalinks(Job.java:1068) at jenkins.model.PeepholePermalink$RunListenerImpl.onCompleted(PeepholePermalink.java:223) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:209) at org.jenkinsci.plugins.workflow.job.WorkflowRun.finish(WorkflowRun.java:610) at org.jenkinsci.plugins.workflow.job.WorkflowRun.access$800(WorkflowRun.java:137) at org.jenkinsci.plugins.workflow.job.WorkflowRun$GraphL.onNewHead(WorkflowRun.java:1037) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.notifyListeners(CpsFlowExecution.java:1463) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$3.run(CpsThreadGroup.java:458) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:37) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Number of locked synchronizers = 1 - java.util.concurrent.ThreadPoolExecutor$Worker@73947f7d
          Hide
          danacovaci30 Dana added a comment - - edited

          Jenkins needs to be restarted as every build will be stuck belonging to the pipeline and cannot be killed.

          All other builds continue to run but at one point jenkins is restarting. We are running jenkins on an openshift platform. All the slave containers referring the hanging builds are removed and inside jenkins logs the hanging builds show that the status is successful, but on the UI they look as hanging.

          Please help us in case you faced this before. We tried to find the rootcause and read plenty of issues but no solution was found.

          Show
          danacovaci30 Dana added a comment - - edited Jenkins needs to be restarted as every build will be stuck belonging to the pipeline and cannot be killed. All other builds continue to run but at one point jenkins is restarting. We are running jenkins on an openshift platform. All the slave containers referring the hanging builds are removed and inside jenkins logs the hanging builds show that the status is successful, but on the UI they look as hanging. Please help us in case you faced this before. We tried to find the rootcause and read plenty of issues but no solution was found.
          Hide
          raihaan Raihaan Shouhell added a comment - - edited

          Looks like an issue with sonarqube-plugin as its causing the blocking

          Show
          raihaan Raihaan Shouhell added a comment - - edited Looks like an issue with sonarqube-plugin as its causing the blocking

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dash18 Dashrath
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: