[JIRA] (JENKINS-60536) Jenkins job hangs in Jira call after git rev-list command

2020-04-15 Thread hugo.san...@wezen.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Hugo SANSON edited a comment on  JENKINS-60536  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Jenkins job hangs in Jira call after git rev-list command   
 

  
 
 
 
 

 
 Using this fork you guys made at [https://github.com/xft-devs/jira-plugin]*The issue looks fixed* or at leastOur use cases with Jenkins pipeline JiraSearch and JiraIssueUpdater against Jira Cloud work fine.No more threads hanging or blocked To be able to build this fork, i had to change a few versions in the pom.xml _configuration {code:java}configuration -as-code. version_ version  from 1.8 to 1.36 _jackson2 jackson2 - api_ api  from 2.8.11.2 to 2.10.2 _io io . jenkins__ jenkins .configuration-as- code_ code  to  _io io .jenkins.configuration-as-code.test- harness_ harness  _junit_ junit  from 1.3 to 1.20 _org org .jenkins-ci.plugins. credentials_ credentials  from 2.1.19 to 2.2.1 {code} These versions changes match the [https://github.com/jenkinsci/jira-plugin] branch feature/4.0 changes  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203639.1576745651000.11990.1586973180348%40Atlassian.JIRA.


[JIRA] (JENKINS-60536) Jenkins job hangs in Jira call after git rev-list command

2020-04-15 Thread hugo.san...@wezen.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Hugo SANSON commented on  JENKINS-60536  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Jenkins job hangs in Jira call after git rev-list command   
 

  
 
 
 
 

 
 Using this fork you guys made at https://github.com/xft-devs/jira-plugin The issue looks fixed or at least Our use cases with Jenkins pipeline JiraSearch and JiraIssueUpdater against Jira Cloud work fine. No more threads hanging or blocked  To be able to build this fork, i had to change a few versions in the pom.xml configuration-as-code.version from 1.8 to 1.36 jackson2-api from 2.8.11.2 to 2.10.2 io.jenkins.configuration-as-code to io.jenkins.configuration-as-code.test-harness junit from 1.3 to 1.20 org.jenkins-ci.plugins.credentials from 2.1.19 to 2.2.1 These versions changes match the https://github.com/jenkinsci/jira-plugin branch feature/4.0 changes  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203639.1576745651000.11988.1586973120376%40Atlassian.JIRA.


[JIRA] (JENKINS-60536) Jenkins job hangs in Jira call after git rev-list command

2020-04-15 Thread hugo.san...@wezen.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Hugo SANSON edited a comment on  JENKINS-60536  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Jenkins job hangs in Jira call after git rev-list command   
 

  
 
 
 
 

 
 Bumping up this issue as i believe it is not solved with 3.0.13 nor 3.0.15, I remember we had a fix preparing for this issue before the Atlassian GDPR changes rolled out, and it was working for a week with  an open  this  PR  on Jira  [https://github.com/jenkinsci/jira-  plugin /pull/207]but apparently it didn ' s github, can' t  find this PR anymore  move forward a notch since then . Our environement, jenkins [2.204.5|https://jenkins.io/] with open jdk 11 - Trying to connect to Jira Cloud with API Token and usernameSympthoms are First connection after reboot works for validate and jiraSearchBut all subsequent connections threads hang at this point,  with status BLOCKED on org.apache.http.nio.reactor.ssl.SSLIOSession.close([SSLIOSession.java:605|http://jenkins.wezen.global/monitoring?part=source=org.apache.http.nio.reactor.ssl.SSLIOSession#605]){code:java}org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution 

[JIRA] (JENKINS-60536) Jenkins job hangs in Jira call after git rev-list command

2020-04-15 Thread hugo.san...@wezen.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Hugo SANSON commented on  JENKINS-60536  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Jenkins job hangs in Jira call after git rev-list command   
 

  
 
 
 
 

 
 Bumping up this issue as i believe it is not solved with 3.0.13 nor 3.0.15,  I remember we had a fix preparing for this issue before the Atlassian GDPR changes rolled out,  and it was working for a week with an open PR on Jira plugin's github, can't find this PR anymore.   Our environement, jenkins 2.204.5 with open jdk 11 - Trying to connect to Jira Cloud with API Token and username Sympthoms are  First connection after reboot works for validate and jiraSearch But all subsequent connections threads hang at this point,  with status BLOCKED on  org.apache.http.nio.reactor.ssl.SSLIOSession.close(SSLIOSession.java:605) 

 

org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution [#2]
org.apache.http.nio.reactor.ssl.SSLIOSession.close(SSLIOSession.java:605)
org.apache.http.impl.nio.NHttpConnectionBase.close(NHttpConnectionBase.java:511)
org.apache.http.impl.nio.conn.CPoolEntry.closeConnection(CPoolEntry.java:75)
org.apache.http.impl.nio.conn.CPoolEntry.close(CPoolEntry.java:101)
org.apache.http.nio.pool.AbstractNIOConnPool.processPendingRequest(AbstractNIOConnPool.java:423)
org.apache.http.nio.pool.AbstractNIOConnPool.lease(AbstractNIOConnPool.java:280)
org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.requestConnection(PoolingNHttpClientConnectionManager.java:295)
org.apache.http.impl.nio.client.AbstractClientExchangeHandler.requestConnection(AbstractClientExchangeHandler.java:377)
org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.start(DefaultClientExchangeHandlerImpl.java:129)
org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(InternalHttpAsyncClient.java:141)
org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:75)
org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:108)
com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient.execute(SettableFuturePromiseHttpPromiseAsyncClient.java:38)
com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient.doExecute(ApacheAsyncHttpClient.java:417)
com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient.execute(ApacheAsyncHttpClient.java:364)
com.atlassian.httpclient.apache.httpcomponents.DefaultRequest$DefaultRequestBuilder.execute(DefaultRequest.java:297)
com.atlassian.jira.rest.client.internal.async.AtlassianHttpClientDecorator$AuthenticatedRequestBuilder.execute(AtlassianHttpClientDecorator.java:83)
com.atlassian.httpclient.apache.httpcomponents.DefaultRequest$DefaultRequestBuilder.get(DefaultRequest.java:253)
com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient.getAndParse(AbstractAsynchronousRestClient.java:69)
com.atlassian.jira.rest.client.internal.async.AsynchronousSearchRestClient.searchJqlImplGet(AsynchronousSearchRestClient.java:109)
com.atlassian.jira.rest.client.internal.async.AsynchronousSearchRestClient.searchJql(AsynchronousSearchRestClient.java:94)
hudson.plugins.jira.JiraRestService.getIssuesFromJqlSearch(JiraRestService.java:206)
hudson.plugins.jira.JiraSession.getIssuesFromJqlSearch(JiraSession.java:136)
hudson.plugins.jira.pipeline.SearchIssuesStep$SearchStepExecution.run(SearchIssuesStep.java:84)
hudson.plugins.jira.pipeline.SearchIssuesStep$SearchStepExecution.run(SearchIssuesStep.java:61)