[JIRA] [github-plugin] (JENKINS-31103) How to troubleshoot maximum number of statuses errors?
Title: Message Title Kirill Merkushev closed an issue as Incomplete Closed due to no response from user Jenkins / JENKINS-31103 How to troubleshoot maximum number of statuses errors? Change By: Kirill Merkushev Status: Open Closed Resolution: Incomplete 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-31103) How to troubleshoot maximum number of statuses errors?
Title: Message Title Kirill Merkushev edited a comment on JENKINS-31103 Re: How to troubleshoot maximum number of statuses errors? another question - does this sha really have 1k statuses?Which context/messages is used for them (You can view it using curl + github api + token)? Maybe something else updates updated statuses in background? 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-31103) How to troubleshoot maximum number of statuses errors?
Title: Message Title Kirill Merkushev edited a comment on JENKINS-31103 Re: How to troubleshoot maximum number of statuses errors? another question - does this sha really have 1k statuses?Which context/messages is used for them (You can view it using curl + github api + token)? Maybe something else updated updating statuses in background? 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-31103) How to troubleshoot maximum number of statuses errors?
Title: Message Title Kirill Merkushev commented on JENKINS-31103 Re: How to troubleshoot maximum number of statuses errors? another question - does this sha really have 1k statuses? Which context/messages is used for them (You can view it using curl + github api + token)? Maybe something else updates statuses in background? 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-31103) How to troubleshoot maximum number of statuses errors?
Title: Message Title Michael Grünewald edited a comment on JENKINS-31103 Re: How to troubleshoot maximum number of statuses errors? [~lanwen] Thank you for your quick answer! Our Jenkins setup has just one **server-config** (I guess you mean the setting titled *Servers configs with credentials to manage GitHub integrations*) so reaching the limit is very surprising.[~integer] Which kind of performance test would like to have? If you think of a precise measurement which could be useful to troubleshoot that issue, I can probably arrange this. BTW We just updated Jenkins and its plugins to the latest versions, let's see if this improves the situation. 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-31103) How to troubleshoot maximum number of statuses errors?
Title: Message Title Michael Grünewald commented on JENKINS-31103 Re: How to troubleshoot maximum number of statuses errors? Kirill Merkushev Thank you for your quick answer! Our Jenkins setup has just one *server-config* (I guess you mean the setting titled Servers configs with credentials to manage GitHub integrations) so reaching the limit is very surprising. Kanstantsin Shautsou Which kind of performance test would like to have? If you think of a precise measurement which could be useful to troubleshoot that issue, I can probably arrange this. 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-31103) How to troubleshoot maximum number of statuses errors?
Title: Message Title Kanstantsin Shautsou commented on JENKINS-31103 Re: How to troubleshoot maximum number of statuses errors? I wish some performance tests. Traffic can be dumped and measured somehow. 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-31103) How to troubleshoot maximum number of statuses errors?
Title: Message Title Kirill Merkushev assigned an issue to Kirill Merkushev Jenkins / JENKINS-31103 How to troubleshoot maximum number of statuses errors? Change By: Kirill Merkushev Assignee: Kanstantsin Shautsou Kirill Merkushev 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-31103) How to troubleshoot maximum number of statuses errors?
Title: Message Title Kirill Merkushev commented on JENKINS-31103 Re: How to troubleshoot maximum number of statuses errors? How many server-configs do you have in your global setup? I see a cycle in a code: for (GitHubRepositoryName name : GitHubRepositoryNameContributor.parseAssociatedNames(build.getProject())) which means that status will be updated with each config. (Originally it was done to try to find creds with repo:status scope). So maybe its a time to change this behaviour 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-31103) How to troubleshoot maximum number of statuses errors?
Title: Message Title Michael Grünewald updated an issue Jenkins / JENKINS-31103 How to troubleshoot maximum number of statuses errors? Change By: Michael Grünewald We are using Jenkins in conjunction with GitHub. Sometimes the tests are failing with the following exception: { { noformat} Sep 10, 2015 7:19:35 AM hudson.model.AbstractBuild$AbstractBuildExecution reportErrorWARNING: Publisher 'Set build status on GitHub commit' aborted due to exception: java.io.IOException: {"message":"Validation Failed","errors":[{"resource":"Status","code":"custom","message":"This SHA and context has reached the maximum number of statuses."}],"documentation_url":"https://developer.github.com/v3/repos/statuses/#create-a-status"}at org.kohsuke.github.Requester.handleApiError(Requester.java:493)at org.kohsuke.github.Requester._to(Requester.java:245)at org.kohsuke.github.Requester.to(Requester.java:191)at org.kohsuke.github.GHRepository.createCommitStatus(GHRepository.java:774)at com.cloudbees.jenkins.GitHubCommitNotifier.updateCommitStatus(GitHubCommitNotifier.java:127)at com.cloudbees.jenkins.GitHubCommitNotifier.perform(GitHubCommitNotifier.java:84)at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) {noformat } } The error message seems to report the error details sent back by the GitHub RPC endpoint, stating that Jenkins tried to update more than 1000 times the statuses associated to a given SHA or “context”. Since we have a hand of different tests, it is strange to hit that 1000 limit.How to more precisely diagnose this (non-fatal) error and figure out what is causing that limit to be hit? P.S. Sorry for the poor formatting, it seems that these `{{…}}` delimiters are broken. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
[JIRA] [github-plugin] (JENKINS-31103) How to troubleshoot maximum number of statuses errors?
Title: Message Title Michael Grünewald updated an issue Jenkins / JENKINS-31103 How to troubleshoot maximum number of statuses errors? Change By: Michael Grünewald We are using Jenkins in conjunction with GitHub. Sometimes the tests are failing with the following exception:{{Sep 10, 2015 7:19:35 AM hudson.model.AbstractBuild$AbstractBuildExecution reportErrorWARNING: Publisher 'Set build status on GitHub commit' aborted due to exception: java.io.IOException: {"message":"Validation Failed","errors":[{"resource":"Status","code":"custom","message":"This SHA and context has reached the maximum number of statuses."}],"documentation_url":"https://developer.github.com/v3/repos/statuses/#create-a-status"}at org.kohsuke.github.Requester.handleApiError(Requester.java:493)at org.kohsuke.github.Requester._to(Requester.java:245)at org.kohsuke.github.Requester.to(Requester.java:191)at org.kohsuke.github.GHRepository.createCommitStatus(GHRepository.java:774)at com.cloudbees.jenkins.GitHubCommitNotifier.updateCommitStatus(GitHubCommitNotifier.java:127)at com.cloudbees.jenkins.GitHubCommitNotifier.perform(GitHubCommitNotifier.java:84)at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)}}The error message seems to report the error details sent back by the GitHub RPC endpoint, stating that Jenkins tried to update more than 1000 times the statuses associated to a given SHA or “context”. Since we have a hand of different tests, it is strange to hit that 1000 limit.How to more precisely diagnose this (non-fatal) error and figure out what is causing that limit to be hit? P.S. Sorry for the poor formatting, it seems that these `{{…}}` delimiters are broken. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
[JIRA] [github-plugin] (JENKINS-31103) How to troubleshoot maximum number of statuses errors?
Title: Message Title Michael Grünewald created an issue Jenkins / JENKINS-31103 How to troubleshoot maximum number of statuses errors? Issue Type: Bug Assignee: Kanstantsin Shautsou Components: github-plugin Created: 22/Oct/15 1:12 PM Labels: github api limit Priority: Minor Reporter: Michael Grünewald We are using Jenkins in conjunction with GitHub. Sometimes the tests are failing with the following exception: {{Sep 10, 2015 7:19:35 AM hudson.model.AbstractBuild$AbstractBuildExecution reportError WARNING: Publisher 'Set build status on GitHub commit' aborted due to exception: java.io.IOException: {"message":"Validation Failed","errors":[ {"resource":"Status","code":"custom","message":"This SHA and context has reached the maximum number of statuses."} ],"documentation_url":"https://developer.github.com/v3/repos/statuses/#create-a-status"} at org.kohsuke.github.Requester.handleApiError(Requester.java:493) at org.kohsuke.github.Requester._to(Requester.java:245) at org.kohsuke.github.Requester.to(Requester.java:191) at org.kohsuke.github.GHRepository.createCommitStatus(GHRepository.java:774) at com.cloudbees.jenkins.GitHubCommitNotifier.updateCommitStatus(GitHubCommitNotifier.java:127) at com.cloudbees.jenkins.GitHubCommitNotifier.perform(GitHubCommitNotifier.java:84) at hudson.tasks.BuildStepMoni
[JIRA] [github-plugin] (JENKINS-31103) How to troubleshoot maximum number of statuses errors?
Title: Message Title Michael Grünewald updated an issue Jenkins / JENKINS-31103 How to troubleshoot maximum number of statuses errors? Change By: Michael Grünewald We are using Jenkins in conjunction with GitHub. Sometimes the tests are failing with the following exception:{{Sep 10, 2015 7:19:35 AM hudson.model.AbstractBuild$AbstractBuildExecution reportErrorWARNING: Publisher 'Set build status on GitHub commit' aborted due to exception: java.io.IOException: {"message":"Validation Failed","errors":[{"resource":"Status","code":"custom","message":"This SHA and context has reached the maximum number of statuses."}],"documentation_url":"https://developer.github.com/v3/repos/statuses/#create-a-status"}at org.kohsuke.github.Requester.handleApiError(Requester.java:493)at org.kohsuke.github.Requester._to(Requester.java:245)at org.kohsuke.github.Requester.to(Requester.java:191)at org.kohsuke.github.GHRepository.createCommitStatus(GHRepository.java:774)at com.cloudbees.jenkins.GitHubCommitNotifier.updateCommitStatus(GitHubCommitNotifier.java:127)at com.cloudbees.jenkins.GitHubCommitNotifier.perform(GitHubCommitNotifier.java:84)at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) }}The error message seems to report the error details sent back by the GitHub RPC endpoint, stating that Jenkins tried to update more than 1000 times the statuses associated to a given SHA or “context”. Since we have a hand of different tests, it is strange to hit that 1000 limit.How to more precisely diagnose this (non-fatal) error and figure out what is causing that limit to be hit? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)