[JIRA] [github-plugin] (JENKINS-33908) github plugin generates lots of undesired threaddumps on recreate webhooks

2016-04-22 Thread hfla...@boostrack.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 H F edited a comment on  JENKINS-33908 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: github plugin generates lots of undesired threaddumps on recreate webhooks  
 
 
 
 
 
 
 
 
 
 We also see this some times: (maybe it  is related) {code}WARNING: Failed to remove hook from GitHubRepositoryName[host=github.com,username= wkda bea ,repository= classifieds zim -service]java.lang.NullPointerException: There is no credentials with admin access to manage hooks on GitHubRepositoryName[host=github.com,username= wkda bea ,repository= classifieds zim -service]at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:231)at org.jenkinsci.plugins.github.webhook.WebhookManager.unregisterFor(WebhookManager.java:118)at com.cloudbees.jenkins.Cleaner.doRun(Cleaner.java:72)at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)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)## A fatal error has been detected by the Java Runtime Environment:##  SIGSEGV (0xb) at pc=0x7ff91bd52e01, pid=14452, tid=140707534501632## JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode linux-amd64 compressed oops)# Problematic frame:# J 5534 C2 com.trilead.ssh2.crypto.cipher.AES.encryptBlock([[I)V (1195 bytes) @ 0x7ff91bd52e01 [0x7ff91bd52a00+0x401]## Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again## An error report file with more information is saved as:# /tmp/hs_err_pid14452.log## If you would like to submit a bug report, please visit:#   http://bugreport.java.com/bugreport/crash.jsp#{code}And yes.. Jenkins goes to the Pub 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
  

[JIRA] [github-plugin] (JENKINS-33908) github plugin generates lots of undesired threaddumps on recreate webhooks

2016-04-22 Thread lan...@yandex.ru (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kirill Merkushev commented on  JENKINS-33908 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: github plugin generates lots of undesired threaddumps on recreate webhooks  
 
 
 
 
 
 
 
 
 
 
Please make sure that user which owns token also have admin rights on this repo. 
About jobs i mean which type - pipeline|freestyle|maven? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-plugin] (JENKINS-33908) github plugin generates lots of undesired threaddumps on recreate webhooks

2016-04-22 Thread hfla...@boostrack.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 H F edited a comment on  JENKINS-33908 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: github plugin generates lots of undesired threaddumps on recreate webhooks  
 
 
 
 
 
 
 
 
 
 Ohh Thanks for your reply.regarding Oauth scope i think they are present? Please see attached screenshot.Regarding the flow .. it is the following:User pushes code to github branch/ creates a PR +> github webhook calls jenkins -> jenkins create comment on PR --> triggers jenkins job build ---> jenkins reports status of build sucess or failure ---> github allow to merge or not (button) based on the "build status"  ... if failure button is disabled .. other way merge button shows up green for mergingJobs are just re-saved when there are changes made.. but might be that during troubleshooting / testing they can be saved several  time  times  ... ( dows does  it make a difference? Why it would cause troubles ?)Thanks & regards 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-plugin] (JENKINS-33908) github plugin generates lots of undesired threaddumps on recreate webhooks

2016-04-22 Thread hfla...@boostrack.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 H F commented on  JENKINS-33908 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: github plugin generates lots of undesired threaddumps on recreate webhooks  
 
 
 
 
 
 
 
 
 
 
Ohh Thanks for your reply. regarding Oauth scope i think they are present? Please see attached screenshot. 
Regarding the flow .. it is the following: 
User pushes code to github branch/ creates a PR +> github webhook calls jenkins -> jenkins create comment on PR --> triggers jenkins job build ---> jenkins reports status of build sucess or failure ---> github allow to merge or not (button) based on the "build status" ... if failure button is disabled .. other way merge button shows up green for merging 
Jobs are just re-saved when there are changes made.. but might be that during troubleshooting / testing they can be saved several time ... (dows it make a difference? Why it would cause troubles ?) 
Thanks & regards 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-plugin] (JENKINS-33908) github plugin generates lots of undesired threaddumps on recreate webhooks

2016-04-22 Thread lan...@yandex.ru (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kirill Merkushev commented on  JENKINS-33908 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: github plugin generates lots of undesired threaddumps on recreate webhooks  
 
 
 
 
 
 
 
 
 
 
Jenkins will try to manage hooks in 2 cases: 
 

You manually press the btn in global config.
 

You save job configuration (with GH trigger enabled or disabled)
 
 
So normally it can't produce lot of such logs by itself. What jobs do you use with this trigger? 
And did you read the message: "There is no credentials with admin access to manage hooks on" ?  Please check your scopes twice. It should have admin:hooks scope. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-plugin] (JENKINS-33908) github plugin generates lots of undesired threaddumps on recreate webhooks

2016-04-22 Thread hfla...@boostrack.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 H F updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33908 
 
 
 
  github plugin generates lots of undesired threaddumps on recreate webhooks  
 
 
 
 
 
 
 
 
 

Change By:
 
 H F 
 
 
 

Attachment:
 
 Screen Shot 2016-04-22 at 16.11.42.png 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-plugin] (JENKINS-33908) github plugin generates lots of undesired threaddumps on recreate webhooks

2016-04-22 Thread hfla...@boostrack.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 H F updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33908 
 
 
 
  github plugin generates lots of undesired threaddumps on recreate webhooks  
 
 
 
 
 
 
 
 
 

Change By:
 
 H F 
 
 
 

Attachment:
 
 Screen Shot 2016-01-13 at 11.33.05.png 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-plugin] (JENKINS-33908) github plugin generates lots of undesired threaddumps on recreate webhooks

2016-04-22 Thread hfla...@boostrack.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 H F updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33908 
 
 
 
  github plugin generates lots of undesired threaddumps on recreate webhooks  
 
 
 
 
 
 
 
 
 

Change By:
 
 H F 
 
 
 

Attachment:
 
 Screen Shot 2016-01-13 at 11.33.05.png 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-plugin] (JENKINS-33908) github plugin generates lots of undesired threaddumps on recreate webhooks

2016-04-22 Thread hfla...@boostrack.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 H F edited a comment on  JENKINS-33908 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: github plugin generates lots of undesired threaddumps on recreate webhooks  
 
 
 
 
 
 
 
 
 
 We also see  this  some  time  times :  (maybe it  is related)  {code}WARNING: Failed to remove hook from GitHubRepositoryName[host=github.com,username=wkda,repository=classifieds-service]java.lang.NullPointerException: There is no credentials with admin access to manage hooks on GitHubRepositoryName[host=github.com,username=wkda,repository=classifieds-service]at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:231)at org.jenkinsci.plugins.github.webhook.WebhookManager.unregisterFor(WebhookManager.java:118)at com.cloudbees.jenkins.Cleaner.doRun(Cleaner.java:72)at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)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)## A fatal error has been detected by the Java Runtime Environment:##  SIGSEGV (0xb) at pc=0x7ff91bd52e01, pid=14452, tid=140707534501632## JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode linux-amd64 compressed oops)# Problematic frame:# J 5534 C2 com.trilead.ssh2.crypto.cipher.AES.encryptBlock([[I)V (1195 bytes) @ 0x7ff91bd52e01 [0x7ff91bd52a00+0x401]## Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again## An error report file with more information is saved as:# /tmp/hs_err_pid14452.log## If you would like to submit a bug report, please visit:#   http://bugreport.java.com/bugreport/crash.jsp#{code}And yes.. Jenkins goes to the Pub 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
  

[JIRA] [github-plugin] (JENKINS-33908) github plugin generates lots of undesired threaddumps on recreate webhooks

2016-04-22 Thread hfla...@boostrack.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 H F commented on  JENKINS-33908 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: github plugin generates lots of undesired threaddumps on recreate webhooks  
 
 
 
 
 
 
 
 
 
 
We also see some time:  

 

WARNING: Failed to remove hook from GitHubRepositoryName[host=github.com,username=wkda,repository=classifieds-service]
java.lang.NullPointerException: There is no credentials with admin access to manage hooks on GitHubRepositoryName[host=github.com,username=wkda,repository=classifieds-service]
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:231)
at org.jenkinsci.plugins.github.webhook.WebhookManager.unregisterFor(WebhookManager.java:118)
at com.cloudbees.jenkins.Cleaner.doRun(Cleaner.java:72)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
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)

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x7ff91bd52e01, pid=14452, tid=140707534501632
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# J 5534 C2 com.trilead.ssh2.crypto.cipher.AES.encryptBlock([[I)V (1195 bytes) @ 0x7ff91bd52e01 [0x7ff91bd52a00+0x401]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid14452.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
 

 
And yes.. Jenkins goes to the Pub 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA 

[JIRA] [github-plugin] (JENKINS-33908) github plugin generates lots of undesired threaddumps on recreate webhooks

2016-04-22 Thread hfla...@boostrack.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 H F commented on  JENKINS-33908 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: github plugin generates lots of undesired threaddumps on recreate webhooks  
 
 
 
 
 
 
 
 
 
 
Kirill Merkushev Thanks for your reply.. 
No sure what do you mean with "why it recreates hooks so often?" .. it only comes to my mind that on Manage Jenkins there"s something to create on Gihub side the job webhooks? 
The scopes (I guess you mean oauth scopes?) and yes.. access token has allowed scopes for manage hooks etc..  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-plugin] (JENKINS-33908) github plugin generates lots of undesired threaddumps on recreate webhooks

2016-04-20 Thread lan...@yandex.ru (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kirill Merkushev commented on  JENKINS-33908 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: github plugin generates lots of undesired threaddumps on recreate webhooks  
 
 
 
 
 
 
 
 
 
 
why it recreates hooks so often? Do you resave your jobs? What kind of jobs do you have? What scopes have your creds to manage hooks? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-plugin] (JENKINS-33908) github plugin generates lots of undesired threaddumps on recreate webhooks

2016-04-15 Thread hfla...@boostrack.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 H F commented on  JENKINS-33908 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: github plugin generates lots of undesired threaddumps on recreate webhooks  
 
 
 
 
 
 
 
 
 
 
Same story here.. WFH? 

 

pr 15, 2016 3:24:06 PM org.jenkinsci.plugins.github.webhook.WebhookManager$2 applyNullSafe
WARNING: Failed to add GitHub webhook for GitHubRepositoryName[host=github.com,username=boostrack,repository=zim-service]
org.kohsuke.github.GHException: Failed to delete post-commit hook
	at org.jenkinsci.plugins.github.webhook.WebhookManager$10.applyNullSafe(WebhookManager.java:311)
	at org.jenkinsci.plugins.github.webhook.WebhookManager$10.applyNullSafe(WebhookManager.java:305)
	at org.jenkinsci.plugins.github.util.misc.NullSafePredicate.apply(NullSafePredicate.java:19)
	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:649)
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
	at com.google.common.collect.Lists.newArrayList(Lists.java:138)
	at com.google.common.collect.Lists.newArrayList(Lists.java:119)
	at org.jenkinsci.plugins.github.util.FluentIterableWrapper.toList(FluentIterableWrapper.java:137)
	at org.jenkinsci.plugins.github.webhook.WebhookManager$2.applyNullSafe(WebhookManager.java:176)
	at org.jenkinsci.plugins.github.webhook.WebhookManager$2.applyNullSafe(WebhookManager.java:149)
	at org.jenkinsci.plugins.github.util.misc.NullSafeFunction.apply(NullSafeFunction.java:18)
	at com.google.common.collect.Iterators$8.next(Iterators.java:812)
	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:648)
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
	at com.google.common.collect.Lists.newArrayList(Lists.java:138)
	at com.google.common.collect.Lists.newArrayList(Lists.java:119)
	at org.jenkinsci.plugins.github.util.FluentIterableWrapper.toList(FluentIterableWrapper.java:137)
	at org.jenkinsci.plugins.github.webhook.WebhookManager$1.run(WebhookManager.java:101)
	at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
	at org.kohsuke.github.Requester.handleApiError(Requester.java:527)
	at org.kohsuke.github.Requester._to(Requester.java:257)
	at org.kohsuke.github.Requester.to(Requester.java:203)
	at org.kohsuke.github.Requester.to(Requester.java:191)
	at org.kohsuke.github.GHHook.delete(GHHook.java:46)
	at org.jenkinsci.plugins.github.webhook.WebhookManager$10.applyNullSafe(WebhookManager.java:308)
	... 32 more
Caused by: java.io.FileNotFoundException: 

[JIRA] [github-plugin] (JENKINS-33908) github plugin generates lots of undesired threaddumps on recreate webhooks

2016-03-30 Thread sorin.sbar...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Sorin Sbarnea created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33908 
 
 
 
  github plugin generates lots of undesired threaddumps on recreate webhooks  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Kirill Merkushev 
 
 
 

Components:
 

 github-plugin 
 
 
 

Created:
 

 2016/Mar/30 3:53 PM 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Sorin Sbarnea 
 
 
 
 
 
 
 
 
 
 
It seems that recreation of webhooks generated LOTs of errors inside the logs when it should not do this. 
Failure to remove something that is not there in the first place  

 

Mar 30, 2016 3:43:11 PM org.jenkinsci.plugins.github.webhook.WebhookManager$2 applyNullSafe
WARNING: Failed to add GitHub webhook for GitHubRepositoryName[host=github.com,username=xxx,repository=yyy]
org.kohsuke.github.GHException: Failed to delete post-commit hook
	at org.jenkinsci.plugins.github.webhook.WebhookManager$10.applyNullSafe(WebhookManager.java:311)
	at org.jenkinsci.plugins.github.webhook.WebhookManager$10.applyNullSafe(WebhookManager.java:305)
	at org.jenkinsci.plugins.github.util.misc.NullSafePredicate.apply(NullSafePredicate.java:19)
Caused by: java.io.FileNotFoundException: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
	at org.kohsuke.github.Requester.handleApiError(Requester.java:527)
	at org.kohsuke.github.Requester._to(Requester.java:257)
 

 
Imagine how this looks when you have 50 repositories, not one.