hudson.model.RunMap

Jenkins JIRA | Jesse Glick | 2 years ago
  1. 0

    [JIRA] [build-pipeline-plugin] (JENKINS-34722) Unbounded searches with BuildUtil.getDownstreamBuild

    Google Groups | 8 months ago | gant...@gmail.com (JIRA)
    hudson.model.RunMap
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Observed in 1.4.2 on 1.580.1. Jenkins restart hung with: {code:none} "Thread-110": waiting to lock ...a hudson.model.RunMap, which is held by "Jenkins initialization thread" "Jenkins initialization thread": waiting to lock ...a hudson.model.Queue, which is held by "Thread-110" "Thread-110": at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:649) - waiting to lock <...> (a hudson.model.RunMap) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:382) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:547) at jenkins.model.lazy.LazyBuildMixIn.getBuildByNumber(LazyBuildMixIn.java:235) at org.jenkinsci.plugins.workflow.job.WorkflowJob.getBuildByNumber(WorkflowJob.java:193) at org.jenkinsci.plugins.workflow.job.WorkflowJob.getBuildByNumber(WorkflowJob.java:90) at jenkins.model.PeepholePermalink.resolve(PeepholePermalink.java:95) at hudson.model.Job.getLastSuccessfulBuild(Job.java:857) at hudson.model.Job.getEstimatedDurationCandidates(Job.java:944) at hudson.model.Job.getEstimatedDuration(Job.java:978) at org.jenkinsci.plugins.workflow.job.AfterRestartTask.getEstimatedDuration(AfterRestartTask.java:100) at hudson.model.queue.MappingWorksheet.<init>(MappingWorksheet.java:335) at hudson.model.queue.MappingWorksheet.<init>(MappingWorksheet.java:318) at hudson.model.Queue.maintain(Queue.java:1052) - locked <...> (a hudson.model.Queue) at ... "Jenkins initialization thread": at hudson.model.Queue.schedule2(Queue.java:639) - waiting to lock <...> (a hudson.model.Queue) at org.jenkinsci.plugins.workflow.support.pickles.ExecutorPickle.rehydrate(ExecutorPickle.java:67) at org.jenkinsci.plugins.workflow.support.pickles.serialization.PickleResolver.rehydrate(PickleResolver.java:68) at org.jenkinsci.plugins.workflow.support.pickles.serialization.RiverReader.restorePickles(RiverReader.java:135) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.loadProgramAsync(CpsFlowExecution.java:408) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.onLoad(CpsFlowExecution.java:386) at org.jenkinsci.plugins.workflow.job.WorkflowRun.onLoad(WorkflowRun.java:354) at hudson.model.RunMap.retrieve(RunMap.java:219) at hudson.model.RunMap.retrieve(RunMap.java:56) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:688) - locked <...> (a hudson.model.RunMap) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:671) at jenkins.model.lazy.AbstractLazyLoadRunMap.getById(AbstractLazyLoadRunMap.java:543) at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.run(WorkflowRun.java:581) at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.get(WorkflowRun.java:591) at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$1.computeNext(FlowExecutionList.java:59) at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$1.computeNext(FlowExecutionList.java:51) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$ItemListenerImpl.onLoaded(FlowExecutionList.java:165) at jenkins.model.Jenkins.<init>(Jenkins.java:845) at ... {code}

    Jenkins JIRA | 1 year ago | Jesse Glick
    hudson.model.RunMap
  4. 0

    Not to be confused with JENKINS-25890. Do not recall the circumstances but probably remains valid. {code:none} "AtmostOneTaskExecutor[hudson.model.Queue$1@1bd18aa] [#9]": waiting to lock monitor 0x00007f60441ef4b8 (object 0x0000000707804108, a hudson.model.RunMap), which is held by "CpsStepContext.getProgramPromise [#4]" "CpsStepContext.getProgramPromise [#4]": waiting for ownable synchronizer 0x00000007063e73b8, (a java.util.concurrent.locks.ReentrantLock$NonfairSync), which is held by "AtmostOneTaskExecutor[hudson.model.Queue$1@1bd18aa] [#9]" "AtmostOneTaskExecutor[hudson.model.Queue$1@1bd18aa] [#9]": at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:465) - waiting to lock <0x0000000707804108> (a hudson.model.RunMap) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:448) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:356) at jenkins.model.lazy.LazyBuildMixIn.getBuildByNumber(LazyBuildMixIn.java:226) at org.jenkinsci.plugins.workflow.job.WorkflowJob.getBuildByNumber(WorkflowJob.java:199) at org.jenkinsci.plugins.workflow.job.WorkflowJob.getBuildByNumber(WorkflowJob.java:92) at jenkins.model.PeepholePermalink.resolve(PeepholePermalink.java:95) at hudson.model.Job.getLastSuccessfulBuild(Job.java:888) at hudson.model.Job.getEstimatedDurationCandidates(Job.java:975) at hudson.model.Job.getEstimatedDuration(Job.java:1009) at hudson.model.Run.getEstimatedDuration(Run.java:2304) at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask.getEstimatedDuration(ExecutorStepExecution.java:313) at hudson.model.queue.MappingWorksheet.<init>(MappingWorksheet.java:335) at hudson.model.queue.MappingWorksheet.<init>(MappingWorksheet.java:318) at hudson.model.Queue.maintain(Queue.java:1358) at hudson.model.Queue$1.call(Queue.java:334) at hudson.model.Queue$1.call(Queue.java:331) at jenkins.util.AtmostOneTaskExecutor$1.call(AtmostOneTaskExecutor.java:101) at jenkins.util.AtmostOneTaskExecutor$1.call(AtmostOneTaskExecutor.java:91) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) at java.lang.Thread.run(Thread.java:745) "CpsStepContext.getProgramPromise [#4]": at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x00000007063e73b8> (a java.util.concurrent.locks.ReentrantLock$NonfairSync) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:870) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1199) at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:209) at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:285) at hudson.model.Queue.schedule2(Queue.java:585) at hudson.model.Queue.schedule2(Queue.java:714) at hudson.model.Queue.schedule(Queue.java:707) at hudson.model.Queue.schedule(Queue.java:692) at org.jenkinsci.plugins.workflow.job.WorkflowRun.onLoad(WorkflowRun.java:402) at hudson.model.RunMap.retrieve(RunMap.java:223) at hudson.model.RunMap.retrieve(RunMap.java:57) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:465) - locked <0x0000000707804108> (a hudson.model.RunMap) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:448) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:356) at hudson.model.RunMap.getById(RunMap.java:203) at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.run(WorkflowRun.java:590) at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.get(WorkflowRun.java:600) at org.jenkinsci.plugins.workflow.cps.CpsStepContext.getFlowExecution(CpsStepContext.java:426) at org.jenkinsci.plugins.workflow.cps.CpsStepContext.access$000(CpsStepContext.java:93) at org.jenkinsci.plugins.workflow.cps.CpsStepContext$1.run(CpsStepContext.java:247) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) 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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {code}

    Jenkins JIRA | 1 year ago | Jesse Glick
    hudson.model.RunMap

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.model.RunMap

      No message provided

      at jenkins.model.lazy.AbstractLazyLoadRunMap.search()
    2. jenkins.model.lazy
      AbstractLazyLoadRunMap.getByNumber
      1. jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:381)
      2. jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:546)
      2 frames
    3. Hudson
      OldDataMonitor.getData
      1. hudson.model.AbstractProject.getBuildByNumber(AbstractProject.java:1073)
      2. hudson.model.AbstractProject.getBuildByNumber(AbstractProject.java:156)
      3. hudson.model.Run.fromExternalizableId(Run.java:2231)
      4. hudson.diagnosis.OldDataMonitor$RunSaveableReference.get(OldDataMonitor.java:361)
      5. hudson.diagnosis.OldDataMonitor.getData(OldDataMonitor.java:90)
      5 frames