[JIRA] (OVIRT-1271) GH plugin tries to consume gerrit's projects

Evgheni Dereveanchin (oVirt JIRA) jira at ovirt-jira.atlassian.net
Tue Apr 11 14:16:59 UTC 2017


    [ https://ovirt-jira.atlassian.net/browse/OVIRT-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=29803#comment-29803 ] 

Evgheni Dereveanchin commented on OVIRT-1271:
---------------------------------------------

These warning messages are still present on both production and staging Jenkins instances. The GitHub plugin tries to [match a string|https://github.com/jenkinsci/github-plugin/blob/93d40692ff3866705175624e93ec584d4ac88132/src/main/java/com/cloudbees/jenkins/GitHubRepositoryName.java#L42-L87] like <protocol>://<server>/<project>/<repo> and this fails since our Gerrit URL uses a different format: <protocol>://<server>/<repo> 

The unclear thing is why GitHub plugin is invoked at all on jobs that are only using Gerrit. The staging instance only has a single GitHub job and that one does not have any mentions of gerrit as a repo URL. Same for other jobs - they consume Gerrit directly and have all GitHub settings unset. It may be related to hook setup or something similar. Will try to troubleshoot more on the staging instance.

> GH plugin tries to consume gerrit's projects
> --------------------------------------------
>
>                 Key: OVIRT-1271
>                 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1271
>             Project: oVirt - virtualization made easy
>          Issue Type: Improvement
>            Reporter: Pavel Zhukov
>            Assignee: infra
>            Priority: Low
>
> Jenkins logs are flooded with:
> Mar 23, 2017 10:40:05 AM com.cloudbees.jenkins.GitHubRepositoryName create
> WARNING: Could not match URL http://gerrit.ovirt.org/jenkins.git
> Mar 23, 2017 10:40:05 AM com.cloudbees.jenkins.GitHubRepositoryName create
> WARNING: Could not match URL http://gerrit.ovirt.org/jenkins-whitelist.git
> Mar 23, 2017 10:40:05 AM com.cloudbees.jenkins.GitHubRepositoryName create
> WARNING: Could not match URL git://gerrit.ovirt.org/vdsm.git
> Mar 23, 2017 10:40:05 AM com.cloudbees.jenkins.GitHubRepositoryName create
> WARNING: Could not match URL http://gerrit.ovirt.org/jenkins.git
> While the messages itself are harmless they floods the logs and consume jenkins master's resources. 
> See https://issues.jenkins-ci.org/browse/JENKINS-24422 for more details.



--
This message was sent by Atlassian JIRA
(v1000.892.1#100040)


More information about the Infra mailing list