Unable to scan or specific repo.

30 views
Skip to first unread message

frederick...@made.com

unread,
Jul 11, 2018, 9:27:30 AM7/11/18
to Jenkins Users
I've noticed that i've not been getting closed PRs and deleted branches going away inside our Jenkins Github Organisation.

After checking the logs for one of the repos I see the following:

No changes detected: master (still at 2667752108b5cc302e65ba48a4d9e1f82c5facd8)

  5 branches were processed

  Checking pull-requests...

  Getting remote pull requests...

  0 pull requests were processed

  Checking tags...

  Getting remote tags...
ERROR: [Wed Jul 11 13:05:05 UTC 2018] Could not fetch branches from source org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator::https://api.github.com::<redacted>::<redacted>
org.kohsuke.github.GHException: Failed to retrieve https://api.github.com/repos/<redacted>/<redacted>/git/refs/tags
	at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:521)
	at org.kohsuke.github.Requester$PagingIterator.hasNext(Requester.java:486)
	at org.kohsuke.github.PagedIterator.fetch(PagedIterator.java:44)
	at org.kohsuke.github.PagedIterator.hasNext(PagedIterator.java:32)
	at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource$LazyTags$1$1.hasNext(GitHubSCMSource.java:2178)
	at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.retrieve(GitHubSCMSource.java:987)
	at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:357)
	at jenkins.scm.api.SCMSource.fetch(SCMSource.java:267)
	at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:633)
	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276)
	at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
	at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1024)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
[Wed Jul 11 13:05:05 UTC 2018] Finished branch indexing. Indexing took 2.5 sec
FATAL: Failed to recompute children of <redacted> » <redacted>
org.kohsuke.github.GHException: Failed to retrieve https://api.github.com/repos/<redacted>/<redacted>/git/refs/tags
at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:521) at org.kohsuke.github.Requester$PagingIterator.hasNext(Requester.java:486) at org.kohsuke.github.PagedIterator.fetch(PagedIterator.java:44) at org.kohsuke.github.PagedIterator.hasNext(PagedIterator.java:32) at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource$LazyTags$1$1.hasNext(GitHubSCMSource.java:2178) at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.retrieve(GitHubSCMSource.java:987) at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:357) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:267) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:633) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165) at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1024) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Finished: FAILURE


I've tried a few suggestions I've found about downgrading the plugin versions but nothing has worked.

Jenkins version: 2.131
Github-Branch_Source Plugin version: 2.3.5 (2.3.6 also presents the same issue)

Any thoughts?

frederick...@made.com

unread,
Jul 11, 2018, 1:45:00 PM7/11/18
to Jenkins Users
Reply all
Reply to author
Forward
0 new messages