FYI IBM openJ9 is not supported by the Jenkins project.  Initial testing 
has found no showstoppers, but IBM OpenJ9 introduces a very significant 
difference between what you're running and what is used and tested by 
people in the Jenkins project.

The Jenkins Platform SIG <https://jenkins.io/sigs/platform/> has started 
the process of evaluating OpenJ9 with the help of Jim Crowley of IBM.  
There are at least 4 open issues 
<https://issues.jenkins-ci.org/issues/?jql=text%20~%20%22OpenJ9%22%20and%20status%20%3D%20Open>
 
related to OpenJ9 and another 15 issues 
<https://issues.jenkins-ci.org/issues/?jql=text%20~%20%22J9%22%20%20and%20status%20%3D%20Open>
 
related to J9.  Probably best to confirm that the same problem occurs with 
AdoptOpenJDK or with OpenJDK.

Mark Waite

On Wednesday, March 11, 2020 at 3:03:40 PM UTC-6, Madhu Muchukota wrote:
>
> Hi Devin, please find the thread dump attached.
>
> jfyi, we are using IBM J9. 
>
> Thanks
> M.Madhu
>
>
> On Wed, Mar 11, 2020 at 2:05 PM Devin Nusbaum wrote:
>
>> Do you have the full thread dump from a tool like jstack? If so, please 
>> attach it to this thread, or paste it somewhere like gist.github.com or 
>> pastebin.com and then paste a link to it here.
>>
>> On Mar 11, 2020, at 14:11, M.Madhusudana Reddy wrote:
>>
>> Hi Team,
>>
>> We upgraded our jenkins instance from 2.107.3 to 2.204.3 and sometimes we 
>> notice that jenkins master is taking lot of time to come up and jenkins 
>> UI/application is unresponsive.
>>
>> I took a thread dump while we ran into this issue and noticed that 
>> application is suffering from deadlock. 
>>
>> Thread jenkins.util.Timer [#1] is in deadlock with thread 
>> CpsStepContext.isReady 
>> [#6]  
>>
>> jenkins.util.Timer [#1]priority:0x5 - threadId:0x00007F9C4C16EBE0 - 
>> nativeId:0x5AF5 - nativeId (decimal):23285 - state:BLOCKED
>> stackTrace:
>> at jenkins/model/lazy/AbstractLazyLoadRunMap.getByNumber(
>> AbstractLazyLoadRunMap.java:370)
>> at jenkins/model/lazy/LazyBuildMixIn.getBuildByNumber(
>> LazyBuildMixIn.java:228)
>> at org/jenkinsci/plugins/workflow/job/WorkflowJob.getBuildByNumber(
>> WorkflowJob.java:232)
>> at org/jenkinsci/plugins/workflow/job/WorkflowJob.getBuildByNumber(
>> WorkflowJob.java:103)
>> at hudson/model/Run.fromExternalizableId(Run.java:2446)
>> at 
>> org/jenkinsci/plugins/workflow/support/steps/ExecutorStepExecution$PlaceholderTask.runForDisplay(
>> ExecutorStepExecution.java:445)
>> at 
>> org/jenkinsci/plugins/workflow/support/steps/ExecutorStepExecution$PlaceholderTask.getDisplayName(
>> ExecutorStepExecution.java:461)
>> at org/jenkinsci/plugins/jqsmonitoring/buildqueue/QueueJob.<init>(
>> QueueJob.java:50)
>> at 
>> org/jenkinsci/plugins/jqsmonitoring/buildqueue/BuildQueue.retrieveQueueJobs(
>> BuildQueue.java:87)
>> at org/jenkinsci/plugins/jqsmonitoring/buildqueue/BuildQueue.<init>(
>> BuildQueue.java:36)
>> at org/jenkinsci/plugins/jqsmonitoring/jqscore/JQSMonitoring.<init>(
>> JQSMonitoring.java:43)
>> at 
>> org/jenkinsci/plugins/jqsmonitoring/jqscore/JQSMonitoring$$FastClassByGuice$$a25d5b0d.newInstance(
>> <generated>)
>> at com/google/inject/internal/cglib/reflect/$FastConstructor.newInstance(
>> FastConstructor.java:40)
>> at 
>> com/google/inject/internal/DefaultConstructionProxyFactory$1.newInstance(
>> DefaultConstructionProxyFactory.java:61)
>> at com/google/inject/internal/ConstructorInjector.provision(
>> ConstructorInjector.java:105)
>> at com/google/inject/internal/ConstructorInjector.access$000(
>> ConstructorInjector.java:32)
>> at com/google/inject/internal/ConstructorInjector$1.call(
>> ConstructorInjector.java:89)
>> at 
>> com/google/inject/internal/ProvisionListenerStackCallback$Provision.provision(
>> ProvisionListenerStackCallback.java:115)
>> at 
>> hudson/ExtensionFinder$GuiceFinder$SezpozModule.onProvision(ExtensionFinder.java:567(Compiled
>>  
>> Code))
>> at 
>> com/google/inject/internal/ProvisionListenerStackCallback$Provision.provision(
>> ProvisionListenerStackCallback.java:126)
>> at com/google/inject/internal/ProvisionListenerStackCallback.provision(
>> Provision 
>>
>> #######################
>>
>>  
>> CpsStepContext.isReady [#6]priority:0x5 - threadId:0x00007F9C6802DE40 - 
>> nativeId:0x5B72 - nativeId (decimal):23410 - state:BLOCKED
>> stackTrace:
>> at org/jenkinsci/plugins/workflow/cps/CpsGroovyShell.doParse(
>> CpsGroovyShell.java:133)
>> at org/jenkinsci/plugins/workflow/cps/CpsGroovyShell.reparse(
>> CpsGroovyShell.java:127)
>> at org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.parseScript(
>> CpsFlowExecution.java:561)
>> at org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.loadProgramAsync(
>> CpsFlowExecution.java:770)
>> at org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.onLoad(
>> CpsFlowExecution.java:740)
>> at org/jenkinsci/plugins/workflow/job/WorkflowRun.getExecution(
>> WorkflowRun.java:672)
>> at org/jenkinsci/plugins/workflow/job/WorkflowRun.onLoad(
>> WorkflowRun.java:533)
>> at hudson/model/RunMap.retrieve(RunMap.java:225)
>> at hudson/model/RunMap.retrieve(RunMap.java:57)
>> at jenkins/model/lazy/AbstractLazyLoadRunMap.load(
>> AbstractLazyLoadRunMap.java:501)
>> at jenkins/model/lazy/AbstractLazyLoadRunMap.load(
>> AbstractLazyLoadRunMap.java:483)
>> at jenkins/model/lazy/AbstractLazyLoadRunMap.getByNumber(
>> AbstractLazyLoadRunMap.java:381)
>> at hudson/model/RunMap.getById(RunMap.java:205)
>> at org/jenkinsci/plugins/workflow/job/WorkflowRun$Owner.run(
>> WorkflowRun.java:921)
>> at org/jenkinsci/plugins/workflow/job/WorkflowRun$Owner.get(
>> WorkflowRun.java:932)
>> at org/jenkinsci/plugins/workflow/cps/CpsStepContext.getExecution(
>> CpsStepContext.java:217)
>> at 
>> org/jenkinsci/plugins/workflow/cps/CpsStepContext.getThreadGroupSynchronously(
>> CpsStepContext.java:242)
>> at org/jenkinsci/plugins/workflow/cps/CpsStepContext.access$000(
>> CpsStepContext.java:97)
>> at org/jenkinsci/plugins/workflow/cps/CpsStepContext$1.call(
>> CpsStepContext.java:263)
>> at org/jenkinsci/plugins/workflow/cps/CpsStepContext$1.call(
>> CpsStepContext.java:261)
>> at jenkins/util/ContextResettingExecutorService$2.call(
>> ContextResettingExecutorService.java:46)
>> at java/util/concurrent/FutureTask.run(FutureTask.java:277)
>> at 
>> java/util/concurrent/ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153(Compiled
>>  
>> Code))
>> at java/util/concurrent/ThreadPoolExecutor$Worker.run(
>> ThreadPoolExecutor.java:628)
>> at java/lang/Thread.run(Thread.java:785)
>>
>> #############################
>>
>> Any one ran into the same issue and any help on this is highly 
>> appreciated please.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/67489814-6ddf-4d73-915b-0d37004f9124%40googlegroups.com.

Reply via email to